7.1 Application specific logging


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.


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.

See Also