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-13
Configuring Loggers
In the given example, ${catalina.base}/logs/abc is the destination of the log
messages
where,
abc is the name of the server class. The name of the log file will be
abc.<date>.log.
Multiple Handler Definitions Using the same Handler Class
JULI allows multiple handler definitions using the same handler class. You must
configure multiple handlers as follows:
The handler name must begin with a number and a prefix string.
The prefix string must end with ".".
Following are examples of handlers using the org.apache.juli.FileHandler
implementation class:
1catalina.org.apache.juli.FileHandler
where,
1catalina. - Denotes the prefix string including a number and ending with a ".".
2localhost.org.apache.juli.FileHandler
where,
2localhost. - Denotes the prefix string including a number and ending with a ".".
Configuring Loggers
To configure a logger, you can associate the logger with a handler. As a result, the
settings defined for the handler will apply. If no handler is associated with a logger,
settings of the parent logger will apply. In addition, you can also assign a log level to
the logger.
The following is an example of a parent logger configuration:
sample.bank.level=INFO
sample.bank.handlers=<handler1, handler2, handler 3>