cPanel Log Rotation Configuration
Valid for versions 82 through the latest version
Version:
82
Last modified: June 13, 2024
Looking for this interface?
Your hosting provider can enable or disable this interface for resellers in WHM's Edit Reseller Nameservers and Privileges interface (WHM >> Home >> Resellers >> Edit Reseller Nameservers and Privileges).
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.
The system does not automatically delete the compressed log files. You must manually delete any unnecessary files. For information about cleaning out old log files, read our How to Clean Unmanaged Log Files documentation.
For information about ApacheĀ® log rotation, read our Apache Log Rotation interface (WHM » Home » Service Configuration » Apache Configuration » Log Rotation) documentation.
Configure log files
To select the log files to compress and archive, perform the following steps:
- Select the checkboxes for the log files that you wish to archive.
- Click Save.
For more information about log files that appear in this interface, read The cPanel & WHM Log Files documentation.