Logging options
Administrator rights are required to modify the settings described here. To make the changes, you can use the ODBC Data Source Administrator Logging Options dialog box or modify the Windows registry directly.
Log level
This option enables ODBC driver logs with different levels of detail. In Windows, you can use the registry or a dialog box to configure logging. The option is located in the following registry path:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Amazon Athena\ODBC\Driver
The following log levels are available:
OFF- Logging is disabledERROR- Only error messages are loggedWARN- Warning messages and errors are loggedINFO- Informational messages, warnings, and errors are loggedDEBUG- Detailed debug information plus all lower level messages are loggedTRACE- Most detailed level of logging, includes all messages
Note
Each log level includes all messages from the levels below it. Higher log levels may impact performance and generate larger log files.
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| LogLevel | Optional | OFF |
LogLevel=INFO; |
Log path
Specifies path to the file where the ODBC driver logs are stored. You can use the registry or a dialog box to set this value. The option is located in the following registry path:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Amazon Athena\ODBC\Driver
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| LogPath | Optional | none |
LogPath=C:\Users\ |
Use Amazon Logger
Specifies if Amazon SDK logging is enabled. Specify 1 to enable, 0 to disable.
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| UseAwsLogger | Optional | 0 |
UseAwsLogger=1; |