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

Logging in NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s Guide596210-006
5-27
Log Files Related to NSJSP
sample.bank.servlet.level = INFO
sample.bank.servlet.handler =
1bankapp.com.tandem.servlet.logging.NSJSPLogHandler
sample.bank.util.level = SEVERE
sample.bank.util.handler =
1bankapp.com.tandem.servlet.logging.NSJSPLogHandler
Log Files Related to NSJSP
This section describes the log files related to NSJSP.
The default configuration of NSJSP creates five log files in the <NSJSP_HOME>/logs
directory per NSJSP installation. Following are the log files:
Two files with the extension, out. These out files are the STDOUT files defined in
the two server classes that are configured for each installation.
Two files with the extension, err. These err files are the STDERR files defined in
the server classes that are configured for each installation.
A log file with the extension, log. This log file is created by the NSJSP logging
framework, JULI.
The out and err Log Files
All log messages from the Java Virtual Machine (JVM) are directed to either the out
file or the err file. For example, if an error in the arguments is passed to the JVM
through the Arglist configuration parameter, the JVM writes the message to the
STDERR file. In NSJSP, the STDERR file is configured as the err file. When the server
is starting up, the Java Native Interface (JNI) code of NSJSP writes messages to the
out file. Startup messages are written to the out file, because these messages are
generated before the JULI framework is initialized.
The complete names of the out and err log files are derived from the names of the
server classes to which they belong. The out file of the Servlet Server Class is
<Servlet Server Class name>.out. The err file of the Servlet Server Class is
<Servlet Server Class name>.err.
Similarly, the out file of the Admin Server Class is <Admin Server Class
name>.out. The err file of the Admin Server Class is <Admin Server Class
name>.err.
The out and err log files of the Servlet Server Class are defined in the
servlet.config file. The out and err log files of the Admin Server Class are
defined in the nsjspadmin.config file.
You cannot configure the settings of the out and err files. In addition, the out and
err files do not support log rollover.