Change global setting for Logger instances

One easy way is to use a logging properties file, by including this VM argument:


where “” is the path to a file containing logging configuration. For relative paths, the working directory of the process is significant.

In that file, include a line like this:

.level= INFO

This sets the global level, which can be overridden for specific handlers and loggers. For example, a specific logger’s level can be overridden like this: = SEVERE

You can get a template for a logging properties file from jre6\lib\

Leave a Comment