- Open ODBC Data Source Administrator where you created the DSN to access logging options.
- Select the DSN and click
From the Log Level drop down list, select the logging level corresponding to the amount of information you want included in the files.
Logging Level Description OFF (Default) Disables all logging. FATAL Logs severe error events that lead the driver to abort. ERROR Logs error events that might allow the driver to continue running. WARNING Logs events that might result in an error if no action is taken. INFO Logs general information describing the progress of the driver. DEBUG Logs detailed information that is useful for debugging the driver. TRACE Logs all driver activity.
- In the Log Path field, specify the full path to the target folder where you want to save log files.
- In the Max Number Files field, type the maximum number of log files to keep. After the maximum number of log files is reached, each time an additional file is created the driver deletes the oldest log file.
- In the Max File Size field, type the maximum size of each log file in megabytes (MB). After maximum file size is reached, the driver creates a new file and continues logging.
Restart your ODBC application to verify the settings.
The new Teradata ODBC Driver produces two log files at the location you specify using the LogPath key, where [DriverName] is the name of the driver:
- A [DriverName]_driver.log file that logs driver activity not specific to a connection.
- A [DriverName]_connection_[Number].log for each connection made to the database, where [Number] is a number that identifies each log file. This file logs driver activity specific to the connection.