cPanel Log Rotation Configuration

Valid for versions 82 through the latest version

Version:

82


Last modified: May 13, 2020

Overview

This interface allows you to select cPanel & WHM log files for the cpanellogd daemon to compress and archive. At the end of each month, the cpanellogd daemon compresses the selected log files into a single file for each type.

The system archives the compressed files in the /usr/local/cpanel/logs/archive/ directory.

Note:
The cpanellogd daemon archives the domlog files at the end of each month.
Warning:
The system does not automatically delete the compressed log files. You must manually delete any unnecessary files.

Configure log files

To select the log files to compress and archive, perform the following steps:

  1. Select the appropriate checkboxes next to the log files that you wish to archive.
  2. Click Save.

Additional Documentation