Error Log Cycle Configuration
Description
Describes how to cycle the error log.
Parameters
- Date/Units
-
This can either be a number from 1-31 representing a day-of-the month date or
one of the following key words:
MonthStart - Cycle at the beginning of the month. This is the same as a 1.
MonthEnd - Cycle at the end of the month.
Monday - Cycle on Monday.
Tuesday - Cycle on Tuesday
Wednesday - Cycle on Wednesday
Thursday - Cycle on Thursday
Friday - Cycle on Friday
Saturday - Cycle on Saturday
Sunday - Cycle on Sunday
Daily - Cycle on a per-day basis.
ServerStart- Cycle on the day of the month the server was started.
If this parameter is missing, cycling will be turned off.
- Time
-
This can either be
ServerStart, meaning the time the server
was started or a time of the format HH:MM:SS. The seconds
are optional and valid hours are from 00 to 23.
- Period
-
This specifies how long to wait between cycles and is combined with the
Date/Units field. For instance, with a period of 2 and a Date/Units of 3,
cycling will occur every two months on the third of the month. If the
Date/Units were changed to Saturday, cycling would occur every two weeks
on a Saturday.
- MaxFiles
-
This is the maximum number of files to keep when cycling. When this number
is exceeded, old files will be deleted when new files are created while
cycling.
Default If No Entry Found
By default, cycling is not enabled.
Command To Change This Value
File Syntax
ErrorLogCycle Date/Units Time Period MaxFiles
Only one entry may exist in the
master server configuration file.
If more than one entry is found, the last one will be used.
Also See