Error Logs comes as very useful to find out and fix the problems on your WordPress website. Users can get the reason behind the downtime on the website. In order to examine the problems, the user has to know the location of log files. Below, we are listing Log File Locations in DirectAdmin.
1) Default log files in DirectAdmin:
Default log files include secure login logs, audit logs, etc.
>/var/log/directadmin/error.log
>/var/log/directadmin/errortaskq.log
>/var/log/directadmin/system.log
>/var/log/directadmin/security.log
2) ProFTP Access Logs, ProFTP Auth Logs, PureFTPd Logs :
>/var/log/proftpd/access.log
>/var/log/proftpd/access.log
>/var/log/messages (generic errors)
3) Apache log files :
Through apache log files, the user can figure out the problems with the apache server, syntax errors, etc in DirectAdmin. They are:
>/var/log/httpd/error_log
>/var/log/httpd/access_log
>/var/log/httpd/suexec_log
>/var/log/httpd/fpexec_log
>/var/log/httpd/domains/domain.com.error.log
>/var/log/httpd/domains/domain.com.log
>/var/log/messages (generic errors)
4) PureFTPd log file:
>/var/log/pureftpd.log
5) SMTP transfer logs :
It includes:
>/var/log/exim/mainlog
>/var/log/exim/paniclog
>/var/log/exim/rejectlog
>/var/log/exim/processlog
6) Dovecot and vm-pop3d logs :
>/var/log/maillog
>/var/log/messages
7) Mysql server logs :
>/var/lib/mysql/{SERVER_NAME}.err
If MySQL slow query log is permitted in your my.cnf. Then the log file location will be as below:
>/var/log/slowqueries
8) Cron job logs :
>/var/log/cron
9) Named or Bind Logs are involved in the generic log location :
>/var/log/messages