Clears the audit log and cluster log files.

>>-clearlog--+----------+--+-----------+------------------------>
+- –?----+ '- –quiet-'
+- –h----+
'- –help-'
>-- –log--+-audit---+----------------------------------------><
'-cluster-'
Parameters
- –? | –h | –help
- Displays a detailed description of this command, including syntax, parameter
descriptions, and examples. If you specify a help option, all other command
options are ignored.
- –quiet
- Turns off confirmation messages for this command.
- –log
- Specifies the log file to clear.
- audit
- Clears all entries in the audit log, which maintains a history of messages
created by the administrative server.
- cluster
- Clears all entries in the cluster log, which maintains a history of all
messages issued by any administrator for all metadata servers in the cluster.
Prerequisites
You
must have Administrator privileges to use the command.
Description
Note: - If you run this command from an engine hosting a subordinate metadata
server, the audit log and cluster log on only the local engine are cleared.
If you run this command from the engine hosting the master metadata server,
the audit logs and cluster logs on all engines are cleared.
- Because the event log is a subset of the cluster log, the event log is
also cleared when you clear the cluster log.
Example
Clear the cluster log The following example
clears the cluster log entries.
sfscli> clearlog -log cluster
Are you sure you want to remove all entries in the cluster log? [y/n] Y
Cluster log cleared.