Log File Maintenance (CLEANLOG) XCOM for Windows
search cancel

Log File Maintenance (CLEANLOG) XCOM for Windows

book

Article ID: 28300

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows XCOM Data Transport - Linux PC XCOM Data Transport - z/OS

Issue/Introduction

CLEANLOG.EXE purges entries from the XCOM for Windows log (XCOM.LOG). Items older the specified age are deleted. This assures that the file will not grow too large.

Environment

  • XCOM™ Data Transport® for Windows
  • XCOM™ Data Transport® for UNIX/Linux PC

 

Resolution

CLEANLOG.EXE can be run from the command line or from a command file.
XCOM for Windows should be idle when this program is run.
XCOM does not save entries that are purged so you may want to back up the log before running CLEANLOG.

Syntax

     CLEANLOG <Number of days old> [Log file Name]
Operand                         Description
Number of days old     Entries older than this will be purged.
Log file Name The name of the log file to clean (optional). The default is the XCOM.LOG in
  the current directory.

Example

     CLEANLOG 5

This command will remove entries in XCOM.LOG that are older than 5 days.

Additional Information

This information is in the online documentation at

XCOM for Windows - Purge the Log File.
XCOM for Linux - Purge the Log File