NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator's Guide
Logging in NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator’s Guide—674372-005
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 two log files in the <NSJSP_HOME>/logs
directory for each NSJSP installation. Following are the two log files:
A log file with the extension, out.
A log file with the extension, log. This log file is created by the NSJSP logging
framework, JULI.
The out Log File
All log messages from the Java Virtual Machine (JVM) are captured in the out 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 out file. Even when the
server is starting up, the Java Native Interface (JNI) code of NSJSP writes messages
to the out file because these messages are generated before the JULI framework is
initialized.
The complete name of the out file is derived from the name of the server class to
which it belongs.
The out file of the Servlet Server Class is <Server Class Name>.STD.out.
The out log file of the Servlet Server Class is defined in the servlet.config file. You
cannot configure the settings of the out files. Also, the out file does not support log
rollover.
Log File Created by JULI
When the NSJSP server is running and the JULI framework is initialized, all log
messages are written in the log file created by the JULI logging framework.
The log file created by JULI is the default destination of logs. However, you can change
the default destination of logs.
Note. Under certain conditions, log messages are also written to the err file. For
example, when the internal buffers of the NSJSP JNI library are full, log messages are
written in the log file created by the JULI logging framework and in the err file.










