NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator's Guide

Migrating to NSJSP 6.1
NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s Guide596210-006
7-15
Comparing Logging Infrastructure in NSJSP 5.0,
NSJSP 6.0, and NSJSP 6.1
Comparing Logging Infrastructure in NSJSP 5.0, NSJSP 6.0, and
NSJSP 6.1
Table 7-7 compares the logging properties in NSJSP 5.0, NSJSP 6.0, and NSJSP 6.1.
Logging Configuration of Servlet Container Components
In addition to the comparison related to logging in Table 7-7, this section discusses the
details of the logging configuration of servlet container components in NSJSP 5.0,
NSJSP 6.0, and NSJSP 6.1.
Logging Configuration in NSJSP 5.0
In NSJSP 5.0, logging is configured in the iTP_server.xml file. The
iTP_server.xml file includes default configurations for the Engine and the localhost.
The default configuration of the Engine component is as follows:
Table 7-7. Differences and Similarities in NSJSP Versions
Factors NSJSP 5.0 NSJSP 6.0 NSJSP 6.1
How is Logging
achieved?
Uses <Logger>
elements to configure
application-specific
logging.
Uses the JULI logging
framework with log
rollover feature.
Starting from NSJSP
6.0, the <Logger>
elements are not
supported.
Same as in NSJSP 6.0
Default directory
location of log files
<iTP
WebServer_HOME>/l
ogs
<NSJSP_HOME>/logs Same as in NSJSP 6.0
Location where
logging can be
configured for the
servlet container
components
iTP_server.xml file
in the
<NSJSP_HOME>/conf
directory
logging.properties
in the
<NSJSP_HOME>/conf
directory
Same as in NSJSP 6.0
Location where
logging can be
configured for
user applications
META-
INF/context.xml
Application-specific
logging.properties
Same as in NSJSP 6.0
Classes required
for Programming
org.apache.commo
ns.logging.Log
Factory
org.apache.commo
ns.logging.Log
org.apache.juli.
logging.LogFac
tory
org.apache.juli.
logging.Log
Same as in NSJSP 6.0