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

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.48

(Home >> Logs >> Raw Access Logs)

Overview

Raw access logs are text files that contain information about your website's visitors and the content that they accessed. This interface allows you to download your access log in .zip format.

Note:

$body

 Configure Logs

This section allows you to configure cPanel to automatically archive logs and when to automatically delete them.

  • Select the Archive logs in your home directory at the end of each stats run every 24 hours checkbox to save archived logs into your cPanel account's home directory each time the system processes your website's statistics.

    Note:

    The system processes website statistics approximately every 24 hours.

  • Select the Remove the previous month's archived logs from your home directory at the end of each month checkbox to remove the previous month's logs at the end of each month.
  • Click Save to store your changes.

Download and View your Raw Access Logs

The table in this section of the interface lists the domains on your account and the log information. 

  • Domain — A list of the domains on your account. 
  • Last Update — The date of the most recent update to the log file.
  • Disk Usage — The amount of disk space that the log files consume.
  • Linked Domains — A list of the parked domains that exist on top of the domain.

To access a domain's raw access log, perform the following steps: 

  1. Click the domain name link to download that domain's raw access log to your computer.
  2. Decompress the file with your preferred archive and compression utility program.

Archived Raw Logs

This section lists the archived logs your account's home directory contains.

  • Click the filename to download that archived log.
  • You can also view the log file through the command line in your /home/username directory, where username is your cPanel username. Use your preferred text editor to open the access-logs file.

Note:

 If you do not have any archived log files, this section will not display any filenames.