Home >

LunaSH Command Reference Guide > LunaSH Commands > syslog > sylog rotate

syslog rotate

Rotate log files immediately if they have not already been rotated on the same date. Logs cannot be rotated more than once per day.

Note:   Using this command followed by sysconf cleanup logs causes all grow-able log files to be deleted.

EXCEPTION: The syslog rotate command does not rotate the NTP log file.

User Privileges

Users with the following privileges can perform this command:

Admin

Operator

Syntax

syslog rotate

Example

lunash:>syslog rotate
 
 
Command Result : 0 (Success)