

What’s on the page
Two sections:- Configuration at the top. Two checkboxes that change what cPanel does with old logs.
- Download list at the bottom. One row per domain, with download links for the current and any archived logs.
The two configuration toggles
| Toggle | What it does | Recommended |
|---|---|---|
| Archive logs in your home directory at the end of each month | Keeps a permanent monthly archive at ~/logs/ so old data doesn’t disappear when the live log rotates. | On, unless you’re tight on disk. |
| Remove the previous month’s archived logs from your home directory at the end of each month | Deletes the archive after it’s served. Keeps disk use flat. | Off, unless you’re tight on disk. |
What’s in the file
A standard Apache combined-format log:-), authenticated user (- if anonymous), timestamp, request line, status code, response size in bytes, referrer, user agent.
Compatible with every log analyzer that takes Apache combined: GoAccess, Apache Log Viewer, AWStats (when imported), awk one-liners.
What to do with the download
The file is gzipped to keep the download small. On macOS or Linux:Common issues
The download is empty or 0 bytes
The download is empty or 0 bytes
Either no requests have hit the domain since the last rotation, or the log archive setting is off and the previous archive was already swept. Toggle archiving on, wait a day, and try again.
I want logs older than the archive can hold
I want logs older than the archive can hold
Open a support ticket. We retain server-level logs for a longer window than the per-account archive. We can pull a specific date range for you.
My home directory is filling up because of `~/logs/`
My home directory is filling up because of `~/logs/`
Tick Remove the previous month’s archived logs, or move the directory to off-server storage on your own (e.g., a monthly cron that uploads
~/logs/*.gz to S3 and deletes the local copy).
