Where to Find the Log Files in Cpanel

In this article, folder locations of log files within cPanel are listed with their corresponding contents. See the tables below for the list.  

[/usr/local/apache/]

File location  Contents 
/usr/local/apache/domlogs  cPanel individual domain logs 
/usr/local/apache/domlogs/{DOMAIN}   Domain access logs 
/usr/local/apache/logs/error_log  Web server and CGI application error log 
/usr/local/apache/logs/suphp_log  suPHP audit log 

[/usr/local/cpanel/] 

File location 

Contents 

/usr/local/cpanel/3rdparty/mailmain/logs  Mailman
/usr/local/cpanel/access_log  cPanel access log for both cPanel and WHM 
/usr/local/cpanel/error_log  cPanel error log 
/usr/local/cpanel/license_log  cPanel license log 
/usr/local/cpanel/login_log  cPanel user login log 
/usr/local/cpanel/melange.log  cPanel chat server log 
/usr/local/cpanel/melange_msg.log   cPanel chat server message log 
/usr/local/cpanel/stats_log  cPanel web stats log 

[/usr/local/cpanel/logs/]

File location 

Contents 

/usr/local/cpanel/logs/access_log  Access logs and user actions 
/usr/local/cpanel/logs/build_locale_database_log  Locale database modifications 
/usr/local/cpanel/logs/cpbackup Backup logs 
/usr/local/cpanel/logs/cpdavd_error_log  WebDisk (CPDAVD) 
/usr/local/cpanel/logs/cphulkd.log Brute force protection (cphulkd) log 
/usr/local/cpanel/logs/dnsadmin_log  Cpanel dnsadmin dns clustering daemon 
/usr/local/cpanel/logs/easy/apache/  EasyApache build logs 
/usr/local/cpanel/logs/error_log Error log 
/usr/local/cpanel/logs/license_log License updates and errors 
/usr/local/cpanel/logs/login_log Login errors (CPSRVD) 
/usr/local/cpanel/logs/panic_log  Panic log 
/usr/local/cpanel/logs/queueprocd.log  Cpanel taskqueue processing daemon 
/usr/local/cpanel/logs/safeapcherestart_log Apache restarts done through cPanel and WHM 
/usr/local/cpanel/logs/setupdbmap_log  DBmapping 
/usr/local/cpanel/logs/splitlogs_log  Processing of log splitting 
/usr/local/cpanel/logs/stats_log Website statistics log 
/usr/local/cpanel/logs/tailwatch_log Tailwatch driver tailwatchd log 
/usr/local/cpanel/logs/updated_analysis/{TIMESTAMP}.log  Update analysis reporting 

[/var/cpanel/]

File location 

Contents 

/var/cpanel/accounting.log  Auditing log (account creations, deletions, etc) 
/var/cpanel/bandwidth.cache/{USERNAME} Per account bandwidth history (Cached) 
/var/cpanel/bandwidth/{USERNAME} Per account bandwidth history (Human Readable) 
/var/cpanel/horde/log/ Horde 
/var/cpanel/logs Account transfers and misc. logs 
/var/cpanel/roundcube/log/ RoundCube 
/var/cpanel/squirrelmail/  SquirrelMail 
/var/cpanel/updatelogs/updated.{TIMESTAMP}.log Update (UPCP) log 

[/var/lib/mysql/] 

File location 

Contents 

/var/lib/mysql/{SERVER_NAME}.err  MySQL error log 

[/var/log/] 

File location 

Contents 

/var/log/bandwidth cPanel total bandwidth logs for the entire server 
/var/log/chkservd.log  Service status logs 
/var/log/clamav clamav log directory 
/var/log/cpanel Installation log 
/var/log/cpupdate.log cPanel update log 
/var/log/exim_mainlog Exim email transaction log 
/var/log/exim_paniclog  Unexpected/Fatal Exim error log 
/var/log/exim_rejectlog  Exim rejected email log 
/var/log/maillog [or] /var/log/messages  IMAP, POP login attempts, transactions, fatal errors and spam scoring 
/var/log/slowqueries  MySQL slow query log (if enabled in my.cnf) 

[/var/spool/exim/] 

File location 

Contents 

/var/spool/exim/input/ Incoming mail queue 

Feel free to contact our Singapore or Australia Support Team if you have further questions. 

(Visited 769 times, 1 visits today)

Was this article helpful?

Related Articles