hvrmaintlogrotate
Usage
hvrmaintlogrotate hub
Description
Command hvrmaintlogrotate moves the log files in the hub’s log directory HVR_CONFIG/hubs/hub/logs/ to the archive directory HVR_CONFIG/hubs/hub/logarchives/.
Each time when this command runs, a new directory is created in HVR_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.