cPanel Log Rotation Configuration

Valid for versions 82 through the latest version


Last modified: May 6, 2021

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.

Important:

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.

Note:

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:

  1. Select the checkboxes for the log files that you wish to archive.
  2. Click Save.
Note:

For more information about log files that appear in this interface, read The cPanel & WHM Log Files documentation.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Apache Configuration

Valid for versions 82 through the latest version Last modified: September 29, 2020...

cPanel Web Disk Configuration

Valid for versions 88 through the latest version Last modified: August 9, 2022...

cPanel Web Services Configuration

Valid for versions 88 through the latest version Last modified: August 9, 2022...

DirectoryIndex Priority

Valid for versions 82 through the latest version Last modified: November 30, 2022...

Exim Configuration Manager

Valid for versions 102 through the latest version Last modified: November 30, 2022...