Try OpenEdge Now
skip to main content
Progress Application Server for OpenEdge Configuration
TCMAN Reference : Server actions : Clean up or archive server log files (clean)
 

Clean up or archive server log files (clean)

Purpose

Truncate, move, or delete the log files located in the /logs directory of the core server or instance. If the server is running, clean truncates log files to zero length. If the server is not running, clean deletes the log files from the file system.
You have the option to save log files to a subdirectory of /logs.

Syntax

tcman.sh clean [general_options][-A]

Parameters

general_options
Specify one or more of the general TCMAN options. Run tcman.sh help clean to see which general options are appropriate.
-A
Archive log files to a subdirectory of $CATALINA_BASE/logs. The directory is automatically named with a month-day-year-second (MM-DD-YYYY-ss) time-stamp format. If the server is not running, the files in $CATALINA_BASE/logs are deleted.

Example

Archive the log files of acme1, an instance of the core server pashome, and save to a file:
/psc/pashome/tcman.sh clean -I acme1 -A