This type of log rotation is based on the time stored in the scheduler.conf file in the server_root/https-admserv/config/ directory. This method allows you to archive log files immediately or have the server archive log files at a specific time on specific days. The server’s scheduler configuration options are stored in the schedulerd.conf file in the server_root/https-admserv/config/ directory. Logs rotated using the scheduler-based method are saved in the following format:
For example, access might become access.200307151630 when it is rotated at 4:30 p.m.
Log rotation is initialized at server startup. If rotation is turned on, the Sun Java System Web Server creates a time-stamped access log file and rotation starts at server startup.
Once the rotation begins, the Sun Java System Web Server creates a new time stamped log file when there is a request or error that needs to be logged to the access or error log file and it occurs after the prior-scheduled “next rotate time”.
Archive the server logs before running the log analyzer.
To archive log files and to specify whether to use the Internal daemon method or the scheduler-based method, use the Archive Log Files Page in the Server Manager.