1 - Application specific logging - start.jar --module=logging


By default, the internal Jetty Logging discovery mechanism will load logging specific properties from a classpath resource called jetty-logging.propertiesand then initialize the Logging from a combination of properties found in that file, along with any System Properties.

Establishing per application logging profiles will help ensure that each applications logging verbosity is set to an appropriate level in order to provide appropriate information when needed for security review.


To enable on the command line:

[my-base]$ java -jar /opt/jetty/start.jar --module=logging
You can also include the --module=logging command in your ${jetty.base}/start.ini by running:

[my-base]$ java -jar /opt/jetty/start.jar --add-to-start=logging