Application specific logging

Details

By default, java.util.logging does not provide the capabilities to configure per-web application settings, only per VM. In order to overcome this limitation Tomcat implements JULI as a wrapper for java.util.logging. JULI provides additional configuration functionality so you can set each web application with different logging specifications.

Solution

Create a logging.properties file and place that into your application WEB-INFclasses directory. Note: By default, installing Tomcat places a logging.properties file in $CATALINA_HOMEconf. This file can be used as base for an application specific logging properties file.

Supportive Information

The following resource is also helpful.

This control applies to the following type of system Unix.

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles