Locations of Common Log Files on cPanel Servers

October 2, 2020 Liquid Web

One of the nice things about cPanel-based servers is the way that they keep the location of key files in the same place across all the various cPanel versions.  Due to this consistency, one always knows where to look for logs files for all services running on a cPanel server.

In this video, we go over the default locations of log files on a cPanel server.

Common log locations:
/var/log/dmesg 
/var/log/chkservd.log
/var/log/exim_mainlog
/var/log/exim_paniclog
/var/log/exim_rejectlog
/var/log/lastlog
/var/log/maillog
/var/log/messages
/var/log/mysqld.log
/var/log/mysql-slow-queries.log
/var/log/prelink.log
/var/log/rkhunter.log
/var/log/rpmpkgs
/var/log/secure
/var/log/spooler

/usr/local/apache/logs/access_log
/usr/local/apache/logs/error_log

/usr/local/apache/logs/modsec_audit.log
/usr/local/apache/logs/modsec_debug_log
/usr/local/apache/logs/ssl_request_log
/usr/local/apache/logs/suexec_log
/usr/local/apache/logs/suphp_log

/usr/local/apache/domlogs/domain

Video by: Justin Palmer

About the Author

Liquid Web

Liquid Web powers online content, commerce, and potential for SMB entrepreneurs and the designers, developers and digital agencies who create for them. Sign up for our <a href="https://www.liquidweb.com/blog">newsletter</a> to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
Liquid Web: Where Business Grows - Speed (Bumper)
Liquid Web: Where Business Grows - Speed (Bumper)

Liquid Web delivers the fastest page speeds to ensure that your mission-critical site is optimized for conv...

Next Video
How to Convert .htaccess Rules to NGINX Directives
How to Convert .htaccess Rules to NGINX Directives

In this video, we demonstrate how to convert .htaccess rules to NGINX directives.

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now