Casbay Knowledge Base

Search our articles or browse by category below

cPanel Application Log Files Location

Last updated: September 8, 2022
Estimated reading time: < 1 min

cPanel Application Log Files Location

First, this is a shortlist of a variety of log documents for different applications on your cPanel VPS.

cPanel Installation Logs:Code:
/var/log/cpanel-install-thread0.log

Apache:Code:
/usr/local/apache/logs/access_log
/usr/local/apache/logs/error_log

domlogs:Code:
/usr/local/apache/domlogs/example.com

SUEXEC Logs:Code:
/usr/local/apache/logs/suexec_log

MySQLCode:
/var/lib/mysql/hostname.err

BIND (named) Log:Code:
/var/log/messages

EximCode:
/var/log/exim_mainlog
/var/log/exim_paniclog
/var/log/exim_rejectlog’

Courier or Dovecot IMAPCode:
/var/log/maillog

Tomcat Logs:Code:
/usr/local/jakarta/tomcat/logs/catalina.err
/usr/local/jakarta/tomcat/logs/catalina.out

Access Log:Code:
/usr/local/cpanel/logs/access_log

Error Log:Code:
/usr/local/cpanel/logs/error_log

License Log:Code:
/usr/local/cpanel/logs/license_log

Stats Execution Logs:Code:
/usr/local/cpanel/logs/stats_log

ChkServd (cPanel Monitoring Daemon) Logs:Code:
/var/log/chkservd.log
cPHulkdCode:
/usr/local/cpanel/logs/cphulkd.log

cPanel Backup Logs:Code:
/usr/local/cpanel/logs/cpbackup/*.log

Pure-FTPCode:
/var/log/messages
/var/log/xferlog (symlinked to /usr/local/apache/domlogs/ftpxferlog)

Cron Logs:Code:
/var/log/cron

SSH Logs:Code:
/var/log/secure

ModSecurity:Code:
/usr/local/apache/logs/modsec_audit.log
/usr/local/apache/logs/modsec_debug_log

Install this plugin to view/check/delete/rotate/tail logs files

PHP Code:

LogView Installation
wget http://www.logview.org/logview-install
chmod +x logview-install
./logview-install
rm -f logview-
install 

Check out the next guide on HOW TO: Create a cronjob in cPanel.
Was this article helpful?
Dislike 0
Previous: Do you provide dedicated IP addresses for Shared Hosting accounts?
Next: My Domain Is Suspended But My Hosting Is Active
Discover the perfect balance of performance and budget-friendly Dedicated Server plan !
Discover the perfect balance of performance and budget-friendly Dedicated Server plan !
High performance and low cost Dedicated Server plan 128GB from $185 – upgrade today!
High performance and cheap Dedicated Server plan 128GB from $185 – upgrade today!