Menu
Simba Technologies
Simba Technologies

Simba Salesforce ODBC Driver with SQL Connector 2.0.10
Installation and Configuration Guide

Simba > Drivers > Salesforce > ODBC Installation Guide > macOS > Configuration > Configuring Logging Options

Configuring Logging Options

To help troubleshoot issues, you can enable logging in the driver.

Important:

Only enable logging long enough to capture an issue. Logging decreases performance and can consume a large quantity of disk space.

Logging is configured through driver-wide settings in the simba.salesforceodbc.ini file, which apply to all connections that use the driver.

To enable logging:

  1. Open the simba.salesforceodbc.ini configuration file in a text editor.
  2. To specify the level of information to include in log files, set the LogLevel property to one of the following numbers:
  3. LogLevel Value Description

    0

    Disables all logging.

    1

    Logs severe error events that lead the driver to abort.

    2

    Logs error events that might allow the driver 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 driver.

    5

    Logs detailed information that is useful for debugging the driver.

    6

    Logs all driver activity.

  4. Set the LogPath key to the full path to the folder where you want to save log files.
  5. Set the LogFileCount key to the maximum number of log files to keep.
  6. Note:

    After the maximum number of log files is reached, each time an additional file is created, the driver deletes the oldest log file.

  7. Set the LogFileSize key to the maximum size of each log file in megabytes (MB).
  8. Note:

    After the maximum file size is reached, the driver creates a new file and continues logging.

  9. Save the simba.salesforceodbc.ini configuration file.
  10. Restart your ODBC application to make sure that the new settings take effect.

The Simba Salesforce ODBC Driver produces a log file named SalesforceODBC_driver.log at the location you specify using the LogPath key.

To disable logging:

  1. Open the simba.salesforceodbc.ini configuration file in a text editor.
  2. Set the LogLevel key to 0.
  3. Save the simba.salesforceodbc.ini configuration file.
  4. Restart your ODBC application to make sure that the new settings take effect.