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
Step 3 : Select on Full Usage Log or Full Error Log.
It will show all the details in raw format, for example below that come from Full Usage Log it show the IP address – 18.104.22.168 has accessed the ‘administrator’ page of our site.
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.
Then, you will need to extract it and open the logs file in the notepad to view the details.