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-26
Configuring Logging for the NSJSP Container and
Web Applications
The following example illustrates logging configuration for a web application:
handlers = 1bankapp.com.tandem.servlet.logging.NSJSPLogHandler
#This is the default handler
.handlers = 1bankapp.com.tandem.servlet.logging.NSJSPLogHandler
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
############################################################
#Destination can have values like STDOUT,STDERR and EMS. With
these three values roll over will be disabled
#With the value of datePattern set to yyyy-MM-dd the files will
roll over each day
#To enable size based roll over un-comment the following line.
This will roll over the log file once it reaches 10MB
#1nsjsp.com.tandem.servlet.logging.NSJSPLogHandler.maxFileSize =
10
#The rolled over log files are placed in the archiveDirectory
(logs/archive)
#If archive directory is not mentioned the rolled over files
will be present in the same directory as the log file
############################################################
1bankapp.com.tandem.servlet.logging.NSJSPLogHandler.destination
= ${catalina.base}/logs/bankapp
1bankapp.com.tandem.servlet.logging.NSJSPLogHandler.level = INFO
1bankapp.com.tandem.servlet.logging.NSJSPLogHandler.maxFileSize
= 10
1bankapp.com.tandem.servlet.logging.NSJSPLogHandler.archiveDirec
tory = ${catalina.base}/logs/archive
############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################