NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator's Guide
Logging in NSJSP 6.0
NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator’s Guide—544548-004
6-2
java.util.logging
java.util.logging
java.util.logging is a logging implementation provided by Java that is part of
J2SE. The main components of java.util.logging are:
LogManager
Logger Objects
Handler Objects
LogManager
The LogManager exists as a singleton and can be obtained using the static
LogManager.getLogManager method. The LogManager tracks the global logging
information, which includes a hierarchical namespace of the main loggers. The
LogManager reads the logging configuration from the logging.properties file,
which is in the java.util.properties format.
The LogManager is initialized based on the system property
java.util.logging.LogManager. If this system property is present, the
LogManager points to a class that extends the java.util.logging.LogManager
class.
Logger Objects
A logger object logs messages for a specific system or an application component.
Each logger tracks the log level it wants and discards the Log requests below the
selected log level.
Loggers are named entities with dot-separated names, for example,
com.tandem.servlet. The namespace is hierarchical and is managed by the
LogManager. The namespace must be aligned with the Java packaging namespace.
Handler Objects
The handler object receives information that is logged by the logger object. The
handler uses formatters to localize the log messages before publishing them.
For more information about java.util.logging, refer
http://tomcat.apache.org/tomcat-6.0-doc/logging.html
.










