Using LogStream or LogWriter - Amazon Redshift

Using LogStream or LogWriter

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

Set the LogLevel key in your connection URL to turn on logging and specify the amount of detail sent to the LogStream or LogWriter specified in the DriverManager.

To turn on logging that uses the LogStream or LogWriter:
  1. To configure the driver to log general information that describes the progress of the driver, set the LogLevel property to 1 or INFO.

  2. To make sure that the new settings take effect, restart your JDBC application and reconnect to the server.