Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Set the Global Log Level

The global log level specifies which kinds of events are logged across all loggers. The default level for message output to the console is INFO (which also includes SEVERE and WARNING messages).

The ConsoleHandler has a separate log level setting that limits the messages that are displayed. For example:


java.util.logging.ConsoleHandler.level = INFO 
java.util.logging.ConsoleHandler.formatter = 
com.sun.enterprise.server.logging.UniformLogFormatter
  1. In a text editor, find the ConsoleHandler log level line and make your changes.

  2. Save the file.


Example 9–3 Changing the Global Log Level for All Loggers

If you set the log level at the root level, you are setting the level of all loggers. The following example sets the log level for all loggers to INFO:

.level= INFO