RAW Access Logs

DirectAdmin Support said:
but they're generally a day old, at least.

Why not get some logrotate usage? have a directory:

/etc/logrotate.d/virtual/|site|

to configure log rotation for each site... something else that would be nice is live updates on the downloads... checking the logs for problems that occured moments ago can be difficult when the logs dont get updated for another 24 hours... it gets more confusing when the customer is using another timezone!

Chris

(Definitely think logrotate use is worthy... it would be dead easy to change all sites / individual configs with root access also)
 
Hello,

Logs are already rotated, but it's currently based on size.

"Live" logs can be downloaded already... User Panel -> Account Stats / Logs -> Apache Error Log

been there forever.. Backed up logs and live logs are stored in different places, but are both accessible. We just added the ability to view the last 10 or 100 lines of the live logs (number can be changed by editing the skin).

John
 
DirectAdmin Support said:
Logs are already rotated, but it's currently based on size.

Is it done manaully though, or using logrotate? (logrotate has those features.... so its possible either way)

And I thought the logs backup from within the panel were backed up logs? .. ill assume thats something else.......... or i'm just missing something, one or the other eh :D I have always accessed logs through shell myself, which I guess allows me to use that as an excuse ;)

Chris
 
Hello,

DA does the rotation check with the tally. The size is set in the Admin Panel -> Admin Settings.

Both backed up logs and realtime logs are available through DA. The backed up logs are just accessed via the Filemanager/ssh in /home/username/domains/domain.com/logs, whereas the live logs can be acccess through DA (accounts stats/logs), or /var/log/httpd/domains/domain.com*.log (if you have read permissions).

John
 
If the /home/username/domains/domain.com/logs folder is empty for all sites on a server does that mean that log rotation is not working?

Is it something that has to be turned on?
 
Back
Top