NonStop Servlets for JavaServer Pages (5.0) System Administrator's Guide
Logs and Error Conditions
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-002
6-3
Switching From a Single Log File to Multiple Log
Files
3. Use the DIFF program to compare the iTP_server.xml with the
iTP_server.xml.sample and save the changes.
4. Back up the iTP_server.xml file.
5. Copy the iTP_server-singleLog.xml.sample to the iTP_server.xml file.
6. Delete the iTP_server.xml.sample and create the
iTP_server.xml.sample by symbolically linking to the iTP_server-
singleLog.xml.sample file:
ln -s iTP_server-singleLog.xml.sample iTP_server.xml.sample
7. Migrate the changes saved in Step 3 to the iTP_server.xml file.
8. Change the Stderr from servlet.log to servlet_error.log in the
servlet.config file:
Stderr $root/logs/servlet.log
9. Remove any <Logger> tags in the context.xml configuration files or use the
com.tandem.servlet.catalina.logger.NSJSPSystemLogger.
10. Restart the NSJSP container.
Switching From a Single Log File to Multiple Log Files
If you are switching from the single log file option to the multiple log files option,
perform the following steps:
1. Stop the NSJSP container as described under Stopping NSJSP on page 2-7.
2. Navigate to your /conf subdirectory:
cd $NSJSP_HOME/conf
3. Use the DIFF program to compare the iTP_server.xml with the
iTP_server.xml.sample and save the changes.
4. Back up the iTP_server.xml file.
5. Copy the iTP_server-multiLogs.xml.sample to the iTP_server.xml file.
6. Delete the iTP_server.xml.sample and create the
iTP_server.xml.sample by symbolically linking to the iTP_server-
multiLogs.xml.sample file:
ln -s iTP_server-multiLogs.xml.sample iTP_server.xml.sample
7. Migrate the changes saved in step 3 to the iTP_server.xml file.
8. Change the Stderr from servlet.log to servlet.error.log in the
servlet.config file:
Stderr $root/logs/servlet_error.log