rotate
This command sets the maximum number of file rotations.
Syntax
rotate count
Parameters
- count
- Specifies how many times to rotate a log file. Enter a value in the range 1 - 100. The default value is 3.
Guidelines
The rotate command specifies the maximum number of rotations for the log file.
Depending on the appliance type, the location of the file can be the local file system or the hard disk array.
Assuming
a file name of
CryptoLog
and three rotations, the
directory that contains the log file can contain the following local
files.CryptoLog
- The current log file.
CryptoLog1
- The log file that was most recently archived.
CryptoLog2
- The log file that was next most recently archived.
CryptoLog3
- The oldest log file.
This command is meaningful only when the following condition is met.
- The log type for the type command is
file
, and the archival mode for the archive-mode command isrotate
.