Log File Locations in DirectAdmin

Category : DirectAdmin

Error Logs comes in handy to figure out the problem on your WordPress website. Users can find out what is the reason behind the downtime on the website. In order to investigate the issues, we need to know the location of log files. In this guide, we are going to discover the Log File Locations in DirectAdmin.

Default log files in DirectAdmin:

Contains information related to 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

Apache log files :

Through these apache log files, we can find out the problems with the apache server, syntax errors, etc in DirectAdmin.

  • /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)

ProFTP Access Logs, ProFTP Auth Logs, PureFTPd Logs :

  • /var/log/proftpd/access.log
  • /var/log/proftpd/access.log
  • /var/log/messages (generic errors)

PureFTPd log file:

  • /var/log/pureftpd.log

SMTP transfer logs :

  • /var/log/exim/mainlog
  • /var/log/exim/paniclog
  • /var/log/exim/rejectlog
  • /var/log/exim/processlog

Dovecot and vm-pop3d logs :

  • /var/log/maillog
  • /var/log/messages

Mysql server logs :

  • /var/lib/mysql/{SERVER_NAME}.err

Note: If MySQL slow query log is enabled in your my.cnf. Then the file location will be

  • /var/log/slowqueries

Cron job logs :

  • /var/log/cron

Named (Bind) Logs are included in the generic log location :

  • /var/log/messages

Learn to read cronjob logs here.