Raw Access
outline
Raw access logs are text files that contain information about website visitors. Logs also include information about the content that visitors access. This feature allows you to download a .zip file containing the access log.
Log Configuration
You can use this section to configure cPanel to automatically archive logs. You can also configure when to automatically delete them.
- After the system processes statistics for your website, select the Archive log files in your home directory after the system processes statistics checkbox to archive log files. Move to the /home directory. By default, the system processes website statistics every 24 hours.
reference:
System administrators can change the process cycle or manually request that statistics be run.
- Select 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. Remove it.
- Click Save to save your changes.
Download current raw access log
This section lists the domains for your account as well as log information.
- Domain — A list of domains in your account. To access your domain's raw access logs, follow these steps:
1. Click the desired link to download the raw access logs for that domain.
2. Try opening the .zip file.
- Last Update — The date of the most recent update to the log file.
- Disk Usage — Amount of disk space used by log files.
- Linked Domains — A list of domains parked above the domain.
Archived raw logs
This section lists the archive logs that the /home directory contains. Click the file name to download the archived file. You can also view log files via the command line in the /home/username directory. Open the access-logs file using your favorite text editor.
Note :
- The system updates the archive only at the end of each month. For more information, see our cPanel Log Rotation Configuration document. Please read.
- If no archive log files exist, this directory will be empty.
View original text: Raw Access