|Skip Navigation Links|
|Exit Print View|
|Oracle Directory Server Enterprise Edition Reference 11 g Release 1 (126.96.36.199.0)|
When the log reaches a specified size
At a specified interval
At a specified start-time, start-day, and interval
At a specified start-time, start-day, and interval, if the log file is bigger than a specified size
At a specified interval, if the log file is bigger than a specified size
The start-time, start-day, and interval can have the following combinations:
Time-of-day followed by an interval of days, hours, or minutes
Day-of-week and time-of-day, followed by an interval of weeks
Day-of-month and time-of-day, followed by an interval of months
The time-of-day takes precedence over the interval. For example, a log that is specified to be rotated at 3am and then every 10 hours is rotated at the following times: 03:00, 13:00, 23:00, and again at 03:00 (not 07:00).
If the log is configured for rotation on the 31st of the month but the month has fewer than 31 days, the log is rotated on the first day of the following month.
Log files can be automatically compressed upon rotation in order to recover part of the disk space they use.