Java Web Mapping Application Template Logging

When using the Java Web Mapping Application template (created using Manager or Eclipse) the logging level of the application is specified in the web.xml file located under the WEB-INF directory.





You can specify a different logging level by modifying the default value of “SEVERE” with any of the following values : ALL, FINE, FINER, CONFIG, SEVERE or OFF

Here is a brief explanation of each level :

FINE, FINER – Fine grained informational events that are useful to debug an application.
CONFIG – Informational messages that highlight the progress of the application at coarse-grained level.
SEVERE– Shows events that might still allow the application to continue running but is important to fix
FATAL – Very severe error events that will presumably lead the application to abort.
ALL – lowest rank and is intended to turn on all logging.
OFF – highest rank and is intended to turn off logging.