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 nor the hsm.log file. The HSM log is a small log file that provides critical information about the HSM. It does not grow very much throughout the life of the HSM.

Syntax

syslog rotate

Example

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