Access the access-logs from wednesday 18 Oct, how?

peps03

Verified User
Joined
Oct 24, 2013
Messages
196
Location
Amsterdam
Hi, I need to access the access-logs from wednesday 18 Oct, how should I do that? Through the DirectAdmin interface it seems to only show the logs of today. No possibility to choose a date. Through SSH it is sort of impossible to download them.

Any help would be highly appreciated!
 
Through SSH it is sort of impossible to download them.
Why? You can just copy the logs to your domain and then download with FTP.

Also normally in the user account in the log section multiple logfiles are kept, you can download from there too with ftp.
 
Thanks for the reply! Much appreciated. Copying is a great idea..! ?

If there is no log folder on the user FTP, is there another place where in can find the access logs of 2 days ago? (Weird, as the DA user's log page does show the access and error logs of today..)

The note, only nginx running, no apache.
 
If there is no log folder on the user FTP
You can just copy to for example /home/username then nobody else can get to it and you can via FTP, you can also create a folder yourself there or in te public_html directory and when using a folder in the public_html protect it with .htaccess for example.

Logs are to be found in:
/var/log/httd for main apache logs
/var/log/httpd/domains for domains log
/home/user/domains/domain.com/logs for multiple logs, 1 in plaintext and a couple of others in tar.gz format.

The last one is where the DA user's log page is looking at. You can also reach that location via FTP.
 
Back
Top