Sun ONE Application Server provides two facilities for log rotation; internal daemon log rotation and scheduler based log rotation. On Solaris platforms, these facilities are not enabled by default since the use of the Solaris log management utility, logadm, is encouraged. For the selected log rotation facility, you can configure the log rotation time and interval from this page
The following table describes the fields and buttons on the page. The left column lists the fields and buttons; the right column describes the functionality.
Field or Button
|
Description
|
---|---|
Internal daemon log rotation |
Select this facility to invoke log rotation from the HTTP daemon. This facility must be configured at server startup. Use this facility to rotate logs internally without requiring restart of the server. |
rotation start time |
Specifies the start time for internal daemon log rotation. |
rotation interval |
Specifies the duration for the internal daemon log rotation process, in minutes. |
Scheduler based log rotation |
Select this facility to invoke scheduler based log rotation immediately or at the time stored in the cron.conf file located at: $INSTANCE_ROOT/admin-server/config/ |
Archive |
Click this button to archive the files now. |
rotate log at |
Select the desired time for scheduler based log rotation to initiate. |
day (Sun, Mon....) |
Select the desired day(s) for scheduler based log rotation. |
OK |
Saves your entries. |
Reset |
Resets the values on the page to the default values. |