The cPanel servers keep their log files in specific locations independent of what version of cPanel installed on them. This feature is very helpful when there is a need to check the log files regarding different services running on the cPanel server.
Apache
As we all know, Apache is the typical web-server that used by the cPanel. The various log files by Apache are shown below.
-
/usr/local/apache/logs/access_log
The access log of apache has the information about all the http requests to the hostname of the server or requests directed to the server’s IP address, also sites that are redirected to the server but not hosted it.
-
/usr/local/apache/logs/error_log
All the apache server errors are logged in this loaction.
/usr/local/apache/domlogs
The domlogs contains log files of each site hosted on the server. Each log files in this folder have fully qualified domain names, for example : yourdomain.com, nixlinux.com etc.
cPanel
The cPanel log files are located in the directory ‘logs’ and the path is /usr/local/cpanel/logs
/usr/local/cpanel/logs/access_log
This access_log contains all traffic to WHM, cPanel, and webmail over http
2. /usr/local/cpanel/logs/error_log
All the errors that occur whan accessing a cpanel website via http/https are logged in this folder.
Exim
Exim is an MTA which stands for Mail Transfer Agent, so the cPanel uses Exim to send out mails from the server. It handles all the mail related operations related to the server both incoming and outgoing. Its important log files are
1. /var/log/exim_mainlog
It contains the logs of mail transactions perform by the server, incoming as well as outgoing mail operations.
/var/log/exim_rejectlog
The exim_rejectlog contains all connection attempts that were denied. This information is also logged in the exim_mainlog.
FTP
/var/log/messages
The FTP log files are normally coming under the systemside messages log file, all FTP transactions are written in these messages file.
These are the most common log file locations of a cPanel server.
🙂
priligy generico Councils have also released growing numbers of maps showing more precisely where broadband will be upgraded