Overview:

Raw access logs are text files that contain information about your website’s visitors. The logs also contain information about the content your visitors access. This feature allows you to download a .zip file that contains your access log.

Configure Logs

This section allows you to configure cPanel to automatically archive logs. You can also configure when to automatically delete them.

  • Select the Archive log files in your home directory after the system processes statistics. checkbox to move log files to the /home directory after the system processes your website’s statistics. By default, the system processes website statistics every 24 hours.

    Note:

    Your system administrator may change the process frequency or manually request a statistics run.

     

  • Select the Remove the previous month’s archived logs from your home directory at the end of the month. checkbox to remove the previous month’s logs at the end of each month.

  • Click Save to store your changes.

Download Current Raw Access Logs

This section lists the domains on your account, as well as the log information.

  • Domain — A list of the domains on your account. To access a domain’s raw access log, perform the following steps:
    1. Click the desired link to download that domain’s raw access log.
    2. Open the .zip file to view it.
  • Last Update — The date of the most recent update to the log file.
  • Disk Usage — The amount of disk space that the log files uses.
  • Linked Domains — The list of domains parked on top of the domain.

Archived Raw Logs

This section lists the archived logs that your /home directory contains. Click the filename to download an archived log file. You can also view the log file through the command line in your /home/username directory. Use your preferred text editor to open the access-logs file.

Notes:
  • The system only updates the archive at the end of each month. For more information, read our cPanel Log Rotation Configuration documentation.

  • If no archive log files exist, this directory will remain empty.

Was this answer helpful?

Related Articles

Analog Stats
Overview: The Analog Stats interface allows you to access data from the Analog traffic...
Awstats
Overview: The Awstats interface displays traffic statistics from the Advanced Web Statistics...
Bandwidth
Important: This feature only appears if your hosting provider’s server profile enables it....
CPU and Concurrent Connection Usage
Overview: This interface allows you to view and monitor resource usage on your cPanel account....
Errors
Overview: The interface displays up to 300 of the most recent entries in Apache’s error logs, in...