Configuring Logging Options
To help troubleshoot issues, you can enable logging in the connector.
Important:
- 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.
- If the connector is using the RDFODBC dependency, then open the
- To specify the level of information to include in log files, set the
LogLevel
property to one of the following numbers:LogLevel Value Description 0
Disables 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.
- 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.Note: After the maximum number of log files is reached, each time an additional file is created, the connector deletes the oldest log file. - Set the
LogFileSize
property to the maximum size of each log file in bytes.Note: After the maximum file size is reached, the connector creates a new file and continues logging. - Save the configuration file.
- Restart your ODBC application to make sure that the new settings take effect.
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.
- If the connector is using the RDFODBC dependency, then open the
- Set the
LogLevel
property to0
. - Save the configuration file.
- Restart your ODBC application to make sure that the new settings take effect.