Sometimes it is necessary to enable the JDBC driver logging functionality to help diagnose problems either in the driver or in the application using the driver. The drivers write log information to one or more files at a location that can be specified when logging is enabled. The information written to the log file may contain sensitive information. It is important to ensure that the location the log files are written to is protected so that files are accessible only by the authorized user(s). Log files should be deleted once they are no longer needed.

The drivers are designed to not record sensitive connection information in the log files, but they cannot determine what information in your database is sensitive. Before sharing the generated log files, review a sample of the logs to make sure they do not contain sensitive data that you do not want the person or organization receiving the logs to see.

For more information on logging tools and configuring logging, see "Troubleshooting".