Previous Topic: Purge the Log File

Next Topic: Example


Syntax

The syntax for CLEANLOG is as follows:

CLEANLOG number_of_days_old [log_file_name]
number_of_days_old

Entries in the log longer than the number of days specified are purged.

log_file_name

The name of the log file to clean (optional). The default is the XCOM.LOG file in the current directory. If not specified, the log file name defaults to $XCOM_HOME/xcom.log where $XCOM_HOME is an environment variable.