Connector Configuration Options
There are some differences in the supported connection properties for the connectors.
| Version 1.x Option | Version 2.x Option | Possible Values | |
log_path |
LogPath |
No difference. | |
log_level |
LogLevel |
1.x | 2.x |
| OFF | 0 | ||
| FATAL | 1 | ||
| ERROR | 2 | ||
| WARNING | 3 | ||
| INFO | 4 | ||
| DEBUG | 5 | ||
| TRACE | 6 | ||
retry_base_delay |
Not configurable. | ||
retry_max_backoff_time |
Not configurable. | ||
The following is an example connection URL for enabling logging using the syntax for version 1.x:
jdbc:awsathena://athena.us-west-1.amazonaws.com:443?s3_staging_dir=s3://query-resultsbucket/folder/&log_level=TRACE&log_path=/tmp
The following is the equivalent connection URL using the syntax for version 2.x:
jdbc:awsathena://athena.us-west-1.amazonaws.com:443;s3_staging_dir=s3://query-resultsbucket/folder/;LogLevel=6;LogPath=/tmp