23.7.4 rotatelogs program
This subsection describes the messages output by the rotatelogs program.
-
Rotation time must be > 0
The log splitting time interval is invalid.
Error level: None
(S) The process will now stop.
(O) Revise the interval of the log splitting time.
-
The number of files must be >= 1 and <=256
An invalid value has been specified in -fnum.
Error level: None
(S) The process will now stop.
(O) Revise the value specified in -fnum.
-
The offset minutes from UTC must be >= -1439 and <=1439
An invalid value has been specified in -diff.
Error level: None
(S) The process will now stop.
(O) Revise the value specified in -diff.
-
The file path is too long.
The length of the split log file name is too long.
Error level: None
(S) The process will now stop.
(O) Revise the prefix length of the split log file.
-
Usage: (program-name) logfile rotation-time-in-seconds [-fnum file-number] [-diff offset-minutes-from-UTC]
The argument is invalid.
Error level: None
(S) The processing will be interrupted.
(O) Revise the argument.