LogLevel

Key Name Default Value Required

N/A

(0)

No

Description

Use this property to enable or disable logging in the connector and to specify the amount of detail included in log files.

Important:

  • Only enable logging long enough to capture an issue. Logging decreases performance and can consume a large quantity of disk space.
  • When logging with connection strings and DSNs, this option only applies to per-connection logs.

Set the property to one of the following values:

  • 0: Disable all logging.
  • 1: Logs severe error events that lead the connector to abort.
  • 2: Logs error events that might allow the connector to continue running.
  • 3: Logs events that might result in an error if action is not taken.
  • 4: Logs general information that describes the progress of the connector.
  • 5: Logs detailed information that is useful for debugging the connector.
  • 6: Logs all connector activity.

When logging is enabled, the connector produces the following log files at the location you specify in the LogPath property:

  • A simbaathenaodbcdriver.log file that logs connector activity that is not specific to a connection.
  • A simbaathenaodbcdriver_connection_[Number].log file for each connection made to the database, where [Number] is a number that identifies each log file. This file logs connector activity that is specific to the connection.

If you enable the UseLogPrefix connection property, the connector prefixes the log file name with the user name associated with the connection and the process ID of the application through which the connection is made. For more information, see UseLogPrefix.