Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-300

ODBCAppender connection settings broken (or just half changed)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: None
    • Component/s: Appender
    • Labels:
      None
    • Environment:
      Debian Linux (Lenny) using unixODBC

      Description

      The ODBCAppender has been changed to use SQLDriverConnectW. In the process, the configuration parameters for username, password, and url have been lost.

      The strings need to be concatendated as "DSN=" + databaseURL + ";User=" + databaseUser + ";Password=" + databasePassword + ";"

      Or was it intended to make the user construct the connection string?

        Attachments

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              sunergos Matthew Vernon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: