Login to your cPanel account. (Don’t know how to login to your cPanel account? Click here)
On the cPanel main screen, locate and click on “Raw Access” under the “Metrics” category.
You will then be redirected to the “Raw Access” page. From there, you can configure cPanel to automatically archive and remove logs. As highlighted on the image below.
On the “Download Current Raw Access Logs” you can download the access logs for your domain. Just click on the domain name to download the current access log file then extract the file and view it using any text editor.
If you wish to download an archived log file, just click on the file you wanted to download from the “Archived Raw Logs” section.
**Like this article if you find it helpful**