All notes
Reference13 Aug 2026

cPanel and WHM Log File Locations

Quick reference for important cPanel and WHM log file locations.

#whm-cpanel#cpanel#whm#linux#sysadmin

Use this reference when troubleshooting cPanel accounts, WHM administration, service failures, logins, backups, and web hosting issues. USER represents the cPanel account username.

cPanel and WHM access

LocationPurpose
/usr/local/cpanel/logs/access_logcPanel and WHM access requests.
/usr/local/cpanel/logs/login_logcPanel and WHM login attempts.
/usr/local/cpanel/logs/session_logActivity during authenticated cPanel and WHM sessions.
/usr/local/cpanel/logs/error_logGeneral cPanel and WHM errors.
/usr/local/cpanel/logs/panic_logSevere cPanel errors. This should normally be empty.
/usr/local/cpanel/logs/api_logAPI 1, successful API 2, and successful UAPI calls; requires API logging to be enabled.
/usr/local/cpanel/logs/api_tokens_logWHM API token activity.
/usr/local/cpanel/logs/incoming_http_requests.logIncoming requests to the cPanel server.

Account and service logs

LocationPurpose
/home/USER/.cpanel/logsErrors in the cPanel account task queue.
/usr/local/cpanel/logs/cpdavd_error_logWeb Disk errors.
/usr/local/cpanel/logs/cpdavd_session_logWeb Disk activity.
/usr/local/cpanel/logs/cphulkd.logcPHulk brute-force protection activity.
/usr/local/cpanel/logs/cphulkd_errors.logcPHulk errors.
/usr/local/cpanel/logs/cpgreylistd.logGreylisting daemon activity.
/var/log/chkservd.logcPanel service-monitoring results.
/usr/local/cpanel/logs/tailwatchd_logTailWatch service logs.
/usr/local/cpanel/logs/safeapacherestart_logApache restart history.

PHP and PHP-FPM

LocationPurpose
/usr/local/cpanel/logs/php-fpm/error.logPHP-FPM errors for cPanel services, including cpsrvd and cpdavd.
/var/cpanel/php-fpm/USER/logs/error.logPHP-FPM errors for a cPanel user.
/var/cpanel/php-fpm/USER/logs/slow.logSlow PHP scripts for a cPanel user.
/home/USER/logs/.php.error.logInternal cPanel PHP-FPM errors, such as Roundcube errors; not customer-site errors.

Backups, updates, and account changes

LocationPurpose
/usr/local/cpanel/logs/cpbackup/cPanel backup logs.
/usr/local/cpanel/logs/cpbackup_transporter/Backup Transporter logs.
/var/cpanel/updatelogs/System update logs.
/var/cpanel/logs/Account-transfer and other miscellaneous logs.
/var/cpanel/transfer_sessions/Transfer and restore session logs.
/var/cpanel/accounting.logAccount lifecycle and ownership actions, including create, suspend, delete, and reseller changes.
/usr/local/cpanel/logs/license_logcPanel license update activity and errors.
/var/log/cpanel-install.logcPanel and WHM installation log.

System and web logs

LocationPurpose
/var/log/messagesGeneral service messages on Red Hat-based systems, including FTP, DNS, and SSH activity.
/var/log/syslogUbuntu equivalent of /var/log/messages.
/var/log/secureSSH login attempts on Red Hat-based systems.
/var/cpanel/bandwidth/USER/Per-account bandwidth usage logs.
/usr/local/cpanel/logs/stats_logBandwidth-statistics processing for cPanel accounts.

Useful commands

# Follow cPanel/WHM errors in real time
tail -f /usr/local/cpanel/logs/error_log

# Review failed cPanel and WHM login attempts
grep 'FAILED LOGIN' /usr/local/cpanel/logs/login_log

# Follow a specific account's PHP-FPM errors
tail -f /var/cpanel/php-fpm/USER/logs/error.log

Source

Log paths can differ when server configuration has been customized. Confirm the active configuration before relying on a path during incident response.