Home >

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

sylog cleanup

Delete log files. Using this command following "syslog rotate" causes all grow-able log files to be deleted.

Syntax

syslog cleanup [-force]

Parameter Parameter Description
-force -f         .   Forces the command to proceed silently without prompting. Useful for scripting.

Example

lunash:>syslog cleanup
WARNING !!  This command creates an archive of the current logs then deletes ALL THE LOG FILES except the hsm logs.
If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'.
> proceed
Command Result : 0(Success)