Configuring Logging Options
To help troubleshoot issues, you can enable logging in the connector.
- Only enable logging or tracing long enough to capture an issue. Logging decreases performance and can consume a large quantity of disk space.
- Typically, connector-wide configuration settings (such as logging) are applied to all connections that use the connector. However, if the connector uses the RDFODBC dependency, then connector-wide configuration settings are applied to all connectors that also use the RDFODBC dependency.
To enable logging:
- From the
/lib
subfolder in the connector installation directory, do one of the following: - If the connector is using the RDFODBC dependency, then open the
rdf.rdfodbc.ini
configuration file in a text editor. - Otherwise, open the
simba.googleadsodbc.ini
configuration file in a text editor. - To specify the level of information to include in log files, set the
LogLevel
property to one of the following numbers: - Set the
LogPath
property to the full path to the folder where you want to save log files. - Set the
LogFileCount
property to the maximum number of log files to keep. - Set the
LogFileSize
property to the maximum size of each log file in bytes. - Save the configuration file.
- Restart your ODBC application to make sure that the new settings take effect.
LogLevel Value | Description |
---|---|
|
Disables all logging. |
|
Logs severe error events that lead the connector to abort. |
|
Logs error events that might allow the connector to continue running. |
|
Logs events that might result in an error if action is not taken. |
|
Logs general information that describes the progress of the connector. |
|
Logs detailed information that is useful for debugging the connector. |
|
Logs all connector activity. |
Note:
After the maximum number of log files is reached, each time an additional file is created, the connector deletes the oldest log file.
Note:
After the maximum file size is reached, the connector creates a new file and continues logging.
The Simba Google Ads ODBC Connector produces a log file named Simba
Google
AdsODBCDriver.log
at the location you specify using the LogPath
setting.
To disable logging:
- From the
/lib
subfolder in the connector installation directory, do one of the following: - If the connector is using the RDFODBC dependency, then open the
rdf.rdfodbc.ini
configuration file in a text editor. - Otherwise, open the
simba.googleadsodbc.ini
configuration file in a text editor. - Set the
LogLevel
property to0
. - Save the configuration file.
- Restart your ODBC application to make sure that the new settings take effect.