dssmaintlogrotate - DSS 6 | Data Source Solutions Documentation

Documentation: dssmaintlogrotate - DSS 6 | Data Source Solutions Documentation

dssmaintlogrotate

Usage

<b>dssmaintlogrotate</b> <em>hub</em>

Description

Command dssmaintlogrotate moves the log files in the hub’s log directory DSS_CONFIG/hubs/hub/logs/ to the archive directory DSS_CONFIG/hubs/hub/logarchives/.

Each time when this command runs, a new directory is created in DSS_CONFIG/hubs/hub/logarchives/ based on the current timestamp, the log files are compressed (.gz) and archived there. The log files are identified by the following extensions: *.out, *.err, *.crit, *.schederr.

The overall idea behind hub logs rotation is to regularly archive the hub server log files and log files of all hubs, and reopen new log files to continue logging.

Since version 6.1.0/3, log file rotation is an automated process. For more information, see Automated Log Rotation.