Search our database

How to view Apache usage and error logs in DirectAdmin

In the DirectAdmin control panel, there’s an option to view the usage and error logs that we can refer to, for http request to our site or the error for our application.

Step 1 : Login into DirectAdmin control panel.

Step 2 : Select on Site Summary / Statistics / Logs

11

Step 3 : Select on Full Usage Log or Full Error Log.

22

It will show all the details in raw format, for example below that come from Full Usage Log it show the IP address – 124.13.40.101 has accessed the ‘administrator’ page of our site.

55

In case, you like to get the log for few days ago, all the logs has been compress to .tar.gz and it located at /home/username/domains/yourdomain.com/logs. To get this, you will need to go :

File Manager > domains > yourdomain.com > logs > select on the file .tar.gz and it will be downloaded to your local PC.

33

Then, you will need to extract it and open the logs file in the notepad to view the details.