NonStop Servlets for JSP System Administrator's Guide
Programming and Management Features
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
4-15
The nsjsp_manager User Interface
The nsjsp_cleanlogs script cleans up log files generated by the NSJSP container
(see Log Files Cleanup Script on page 5-3). Example 4-12 is a screen snap-shot of the
nsjsp_manager user interface invoking the nsjsp_cleanlogs script.
When you execute the clean logs command, the NSJSP Manager will invoke the
nsjsp_cleanlogs program from the specified path. Then you can:
Enter ... To change the default ...
1 number of days that log files are to be kept. Any files that are older than the
specified days are deleted. All log files will be deleted if you change the
number of days to 0
2 path where the NSJSP log files reside
3 file extension for the NSJSP log files
4 backup directory for the log files to be deleted. If no backup directory is
specified, then all the log files will be deleted
5 suppress mode. The default value does not suppress the nsjsp_cleanlogs
script output
Example 4-12. nsjsp_manager Clean NSJSP Log Files
#---------- NSJSP Manager Main Menu ----------#
0) List All Web Applications
1) Start a Web Application
2) Stop a Web Application
3) Install a Web Application
4) Reload a Web Application
5) Remove a Web Application
6) Clean NSJSP Session Data
7) Clean NSJSP Log Files
8) Change NSJSP Manager Log File
9) Exit
#-------------------------------------------#
Enter your selection ([0]-9) ...... 7
#---------- NSJSP Clean Logs Menu ----------#
0) Execute Clean Logs Command ...
/usr/tandem/webserver/bin/nsjsp_cleanlogs
1) Change Number Of Days To Be Saved ... [10 days].
2) Change Log Directory ... [/usr/tandem/webserver/servlet_jsp/logs].
3) Change File Extension ... [log].
4) Change Backup Directory ... [].
5) Change Suppress Option ... [Disabled].
6) Return To Main Menu
#-------------------------------------------#
Enter your selection ([0]-6) ......
nsjsp_cleanlogs: No files with .log extensions older than
10 days were found in /usr/tandem/webserver/servlet_jsp/logs.