NonStop Servlets for JSP System Administrator's Guide

NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide525644-001
5-1
5 Logs and Error Conditions
The information discussed in this section includes the following:
NSJSP Logging on page 5-1
Logging Configuration on page 5-2
Status Information on page 5-3
Log Files Rollover on page 5-3
Log Files Cleanup Script on page 5-3
EMS Message Format on page 5-5
NSJSP Logging
NSJSP processes report configuration and status information to the standard output
(STDOUT) file, and report errors and exceptions to the EMS log and standard error
(STDERR) files and other log files. Depending on your configuration, these files are
located as follows:
One or both of the following logs are available for tracking error conditions:
/usr/tandem/webserver/logs/servlet.log
This is the servlet output file (STDOUT of the NSJSP Process).
/usr/tandem/webserver/logs/servlet_error.log
This is the servlet error output file (STDERR of the NSJSP Process).
In addition, the NSJSP log files are located by default at:
/usr/tandem/webserver/servlet_jsp/logs/
The log files created in this directory depend on how you configure your NSJSP
installation via the iTP_server.xml file. The default installation, which uses the
multiple log files option, creates the following three log files in this directory:
NSJSP_Catalina.YYYY-MM-DD.log
localhost.YYYY-MM-DD.log
localhost_examples.YYYY-MM-DD.log
Note that /usr/tandem/webserver/ is the default location for the iTP Secure
WebServer installation. The rest of the path is also configurable. The
iTP_server.xml file sets the location of the files that contain logs of low-level
events.