To enable logging for JDBC, add the logging parameters to the connect string. Logs are stored on ThoughtSpot. Before enabling JDBC logging, you will need:
- The level of logging you want to capture.
- The path on the ThoughtSpot server where the logs will be written. Make sure the directory has the correct permissions so that the “admin” Linux user can write logs to it.
To enable JDBC logging:
When forming the connect string for JDBC, add these two parameter, separated by “&”:
LogLevelis the level of logging to capture (0-6). The
LogPathis the fully qualified path where logs will be written on ThoughtSpot.
- Run the JDBC code that uses the connection you modified.
- Check the
LogPathdirectory for logs generated by JDBC.