This article describes how to configure and download your website's raw access log files in cPanel.
About raw access logs
Using cPanel's raw access log functionality, you’ll configure and download your website's raw log files for your own analysis. Raw access logs contain information about all visitors to your website and FTP site. You can configure cPanel to archive this information monthly in a compressed file in your home directory. You can also optionally configure cPanel to delete the previous month's archived log files. After you’ve downloaded and decompressed the archived log file to your computer, you can view it in any text editor.
"Archived access logs are stored in the zip file format. These sorts of files have a .gz file extension. If your computer runs Microsoft Windows, you may need to download a program that will decompress .gz files. For more information about working with Linux-based compressed files."
Configuring raw access logs
To configure raw access logs in cPanel, follow these steps:
1. Log in to cPanel.
2. Navigate to the METRICS section of the cPanel home screen, click Raw Access.
3. If you want to archive logs at the end of every month, select the Archive logs in your home directory at the end of every month's check box.
4. If you want to delete the archived logs for the previous month, select the Remove the previous month's archived logs from your home directory at the end of every month check box.
5. Click Save.
Downloading raw access logs
To download the raw access logs from cPanel, follow these steps:
1. Log in to cPanel.
2. Navigate to the METRICS section of the cPanel home screen, click Raw Access.
3. Click the filename of the file that you want to download.