Home >

LunaSH Command Reference Guide > LunaSH Commands > syslog > syslog rotations

syslog rotations

Set the number of history files to keep when rotating system log files. For example, two rotations would keep the current log files and the most recent set; three rotations would keep the current log files and the two most recent sets. Specify a whole number less than 100.

Syntax

syslog rotations <syslog_rotations>

Parameter Shortcut Description
<syslog_rotations>  

An integer that specifies the number of history files to keep when rotating system log files.

Range: 1 to 100

Example

lunash:> syslog rotations 5
 
Log rotations set to 5
 
Command Result : 0 (Success)