CPanel Log file locations

CPanel stores it’s log files in the /usr/local/cpanel/logs directory. Below is a list of the common log files that are located in a cPanel server along with a short description.

access_log — cPanel access log for both cPanel and WHM
error_log — cPanel error log
license_log — cPanel license log
login_log — cPanel user login log
melange.log — cPanel chat server log
melange_msg.log — cPanel chat server message log
stats_log — cPanel web stats log

Also cPanel keeps other system logs in the /var/log/ directory.

bandwidth — cPanel total bandwidth logs for the entire server
chkservd.log — chkservd service log
clamav — clamav log directory
cpupdate.log — cPanel update log
exim_mainlog — Exim email transaction log
exim_paniclog — Exim error log
exim_rejectlog — Exim rejected email log
maillog — Transaction and login log for all mail services
pgsql — PostgreSQL log file

cPanel keeps the domain weblogs in the /usr/local/cpanel/domlogs directory for each domain name that is hosted on the server. This includes FTP transfer logs for each account.

  • 13 Users Found This Useful
Was this answer helpful?

Related Articles

Adding secondary IPs to Cpanel

  To access the IP Functions Menu, click on IP Functions, on the main screen...

Suspended page / Internal Server Error

If domain is showing "Internal Server Error" except suspention page after suspending the domain...

How do convert a dedicated ip to a shared ip on cPanel/WHM

In root SSH, copy the /etc/domainips file and then remove the IP from it: Code: cp...

Install RKHunter

You can install RKHunter on Linux Server by using following steps.1 Login to your server as...

How to disable directory browsing using .htaccess – Apache Web Server

Apache web server allow directory browsing by default. It’s always good to disable directory...