Its very important to know the location of logs for troubleshooting and investigating the issues. Logs help us to understand the nature of problem. This infographics will cover the location of logs for various services like Cpanel, Apache, Exim, Mysql and FTP server
Apache is the most popular web server and comes by default on cpanel based servers. Like any other server service apache also writes logs in two different file i.e access log and error log. Though Individual site has its own traffic log file located under different path. But general troubleshooting on apache can be done using these two log files.
Exim is Mail transfer agent and comes pre-installed with Cpanel. Exim has three primary log file i.e exim_mainlog, exim_rejectlog and exim_paniclog.
Mysql server also comes by default with cpanel and every piece of information about mysql startup, shutdown or database errors are stored in single file that is /var/lib/mysql/hostname.err file.
Cpanel logs files location are located under different folder. The log file stores information about cpanel activity , accounting functions, server service status logs , authentication logs and license error logs. The following infographics shows the logs files location and what logs are being stored.
Download this infographic.
Embed Our Infographic On Your Site!