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-4
NonStop-specific Classes
${catalina.base}/logs, during run time the ClassLoaderLogManager
replaces the string ${catalina.base} with the output of the call
java.lang.System.getProperty("catalina.base").
The logging levels mentioned in the logging.properties file are defined in the
java.util.logging.Level class. Table 6-1 lists the different logging levels in the
order of decreasing severity.
NonStop-specific Classes
This subsection describes two NonStop-specific classes that are used to handle and
format the log messages in NSJSP 6.0.
NSJSP Handler Class
The handler class, com.tandem.servlet.logging.NSJSPLogHandler, extends
the java.util.logging.Handler class. The extra features in the
NSJSPLogHandler class can publish messages in STDOUT, STDERR, or EMS. The
messages can also be configured in different formats.
NSJSPLogHandler class accepts NSJSP-specific attributes to include the above
features. The attributes are listed below.
Destination: This attribute indicates where the messages are published. The
possible destination values are STDERR, STDOUT, and EMS (these values are case-
sensitive). The default value is STDOUT.
Format: This attribute enables to configure the message format. Format string is
an extension of the format defined in the javaclass java.text.MessageFormat.
Table 6-1. LogLevels
Level Description
SEVERE
Indicates a serious failure.
WARNING Indicates a potential problem.
INFO Indicates informational messages.
CONFIG Indicates static configuration messages.
FINE Provides tracing information.
FINER Indicates a fairly detailed tracing message.
FINEST Indicates a highly detailed tracing message.
Note. The default NSJSP 6.0 configuration uses juli because the <Logger> element used
in the earlier releases of NSJSP is not valid anymore.
Note. Although all messages can be published to any destination, HP recommends you to
publish only
WARNING and SEVERE messages.










