Page tree
Skip to end of metadata
Go to start of metadata

For cPanel & WHM version 64

Home >> Server Configuration >> Tweak Settings )

 

Allow users to update Awstats from cPanel

This setting controls whether cPanel users may update their AWStats software.

This setting defaults to Off.

Delete each domain's access logs afterstatistics are gathered

This setting controls whether the system deletes each domain’s access log after it processes statistics. Enable this setting to help conserve disk space.

This setting defaults to On.

Archive logs in the user's home directory at the end of each stats run unless configured by the user

This setting archives logs in the user's home directory. The system archives the logs at the end of each statistics cycle.

This setting defaults to On.

Note:

If you configure this setting to Off, the system will not archive logs.

 

Remove the previous month's archived logs from the user's home directory at the end of each month unless configured by the user

This setting controls whether the system removes the archived log files from the user's home directory at the end of each month.

This setting defaults to On.

Note:

If you configure this setting to Off, the system retains archived logs.

 

Extra CPUs for server load

This setting allows you to specify a value to add to the number of physical CPUs in your server. The sum of these two numbers becomes the value at which the cpuwatchcpanellogdbackups, and CPU statistics daemons consider the system to be in a critical load state.

This setting defaults to 0.

Include password in the raw log download link in cPanel (via FTP)

This setting controls whether the system includes the password in the raw log download link in cPanel's FTP Accounts interface (Home >> Files >> FTP Accounts).

This setting defaults to On.

Keep master FTP log file

This setting allows you to ensure that the system does not delete the /usr/local/apache/domlogs/ftpxferlog file whenever the system parses FTP logs.

This setting defaults to Off.

Keep log files at the end of the month

This setting allows you to keep domain log files at the end of each month in the /home/user/logs directory. If you disable this option, the system deletes these log files.

This item defaults to Off.

Note:

We strongly recommend that you select Off. Log files can quickly consume your server's disk space.

 

Keep stats logs

This setting allows you to retain the statistics log (/usr/local/cpanel/logs/stats_log) between cPanel & WHM restarts.

This setting defaults to Off.

Note:

If you use WHM's cPanel Log Rotation Configuration interface (Home >> Service Configuration >> cPanel Log Rotation Configuration) to archive the log on a monthly basis, the system may delete the log after it archives the log.

 

Apache log file chmod value

This setting allows you to set the Apache log file’s chmod value. The chmod value sets permissions for who can read, write to, and execute a file.

This setting defaults to 0640.

Notes:

  • For more information on the chmod command, run the man chmod command from the command line interface.
  • For more information about file permissions, read Wikipedia's File system permissions article.

 

Show bandwidth usage in Megabytes by default in WHM

This setting allows you to specify whether WHM displays bandwidth usage in Megabytes.

This setting defaults to Off.

Stats log level

This setting allows you to specify how much information the server should include in the /usr/local/cpanel/logs/stats_log file.

This setting accepts integers between 1 and 10.

This setting defaults to 1.

Note:

Higher numbers indicate greater detail.

 

Log rotation size threshold

This setting allows you to specify a threshold above which the cpanellogd daemon rotates log files.

This setting defaults to 300 Megabytes.

The interval, in days, to retain Exim stats in the database

This setting allows you to specify the number of days during which you wish to keep Exim statistics.

This setting defaults to 10.

The number of days to keep record of ModSecurity™ rule hits. (Use zero to keep forever)

This setting allows you to specify the number of days that you wish to maintain your hits records in the modsec database.

This setting defaults to 7. If you set this option to 0, the system will not purge hits records from the modsec database.

Number of days to retain upcp logs before purging them

This setting allows you to specify the number of days that you wish to retain logs from the upcp nightly maintenance script.

This setting accepts integers between 3 and 999.

This setting defaults to 45 days.

Additional documentation