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
/libsubfolder in the connector installation directory, do one of the following:- If the connector is using the RDFODBC dependency, then open the
rdf.rdfodbc.iniconfiguration file in a text editor. - Otherwise, open the
simba.googleadsodbc.iniconfiguration 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
LogLevelproperty to one of the following numbers:LogLevel Value Description 0Disables all logging.
1Logs severe error events that lead the connector to abort.
2Logs error events that might allow the connector to continue running.
3Logs events that might result in an error if action is not taken.
4Logs general information that describes the progress of the connector.
5Logs detailed information that is useful for debugging the connector.
6Logs all connector activity.
- Set the
LogPathproperty to the full path to the folder where you want to save log files. - Set the
LogFileCountproperty 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
LogFileSizeproperty 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 SimbaGoogleAdsODBCDriver.log at the location you specify using the LogPath setting.
To disable logging:
- From the
/libsubfolder in the connector installation directory, do one of the following:- If the connector is using the RDFODBC dependency, then open the
rdf.rdfodbc.iniconfiguration file in a text editor. - Otherwise, open the
simba.googleadsodbc.iniconfiguration file in a text editor.
- If the connector is using the RDFODBC dependency, then open the
- Set the
LogLevelproperty to0. - Save the configuration file.
- Restart your ODBC application to make sure that the new settings take effect.