How to enable Jetty logs in ALM or Octane

  • KM03703375
  • 08-Sep-2020
  • 08-Sep-2020

Summary

In some cases it may be necessary to turn on Jetty logs and set them to DEBUG level to get detailed logging data

Question

In some cases it may be necessary to turn on Jetty logs and set them to DEBUG level to get detailed logging data

Answer

In Octane or ALM navigate to the deployment folder and open for editing ../wrapper/wrapper.conf

Add the following lines in the wrapper.conf file...

wrapper.java.additional.275=-Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.StdErrLog

wrapper.java.additional.276=-Dorg.eclipse.jetty.LEVEL=DEBUG

Save changes

Restart Octane or ALM

Jetty logs at DEBUG level will be in the wrapper.log file