LogLevel

Default Value Data Type Required

0

Integer

No

Description

Use this property to enable or disable logging in the connector and to specify the amount of detail included in log files.

Important:

Only enable logging long enough to capture an issue. Logging decreases performance and can consume a large quantity of disk space.

The settings for logging apply to every connection that uses the Simba Athena JDBC Driver, so make sure to disable the feature after you are done using it.

Set the property to one of the following numbers:

  • 0: Disable all logging.
  • 1: Enable logging on the FATAL level, which logs very severe error events that will lead the connector to abort.
  • 2: Enable logging on the ERROR level, which logs error events that might still allow the connector to continue running.
  • 3: Enable logging on the WARNING level, which logs events that might result in an error if action is not taken.
  • 4: Enable logging on the INFO level, which logs general information that describes the progress of the connector.
  • 5: Enable logging on the DEBUG level, which logs detailed information that is useful for debugging the connector.
  • 6: Enable logging on the TRACE level, which logs all connector activity.

Note:

If UseAwsLogger is set to 1, the connector also logs information from AWS API calls. See UseAwsLogger.

When logging is enabled, the connector produces the following log files in the location specified in the LogPath property:

  • An AthenaJDBC_driver.log file that logs connector activity that is not specific to a connection.
  • An AthenaJDBC_connection_[Number].log file for each connection made to the database, where [Number] is a number that identifies each log file. This file logs connector activity that is specific to the connection.

If the LogPath value is invalid, then the connector sends the logged information to the standard output stream (System.out).