View Full Version : Apache Log Files, Still showing December '03
howlets
02-24-2004, 03:55 AM
I have raised this with my host a few months ago and I belive it was going to be passed to DA, my usage log files and error log files are still showing entries from 1st Dec 03 - they are now taking so long to download it is impossible to check my error logs on a regular basis.
How can I just see this months logs?
If there a problem with the DA config?
ProWebUK
02-24-2004, 05:07 AM
Sounds like logrotation has not been configured on the system...
Chris
howlets
02-24-2004, 05:21 AM
I will ask my host - but this was working ok until December/Jan....
Im sure there was an update to DA around this time? Maybe that broke something?
ProWebUK
02-24-2004, 06:11 AM
Doubtful that DA would modify logrotation settings, its more than likely a slow rotation setting although 2 months appears around double the average redhat settings.
I'll assume it is redhat your host is using?
Chris
howlets
02-24-2004, 06:24 AM
Yep, Redhat.
I have log entries from 1st Dec 03 showing, its now the end of feb, so far 2 its missed 2 rotations.....
DA are apparently talking to my host now in an attempt to resolve this.
I'll let you know what their findings are...
ProWebUK
02-24-2004, 06:29 AM
I would think this is not a DA issue.... Has your host checked the settings in /etc/logrotate.conf
The settings I usually use are as follows:
# rotate log files daily
daily
# keep 2 weeks worth of backlogs
rotate 2
# create new (empty) log files after rotating old ones
create
Chris
howlets
02-24-2004, 08:07 AM
I have mentioned it to them - this only happens on a handful of accounts so not sure what the root cause is....
ProWebUK
02-24-2004, 09:01 AM
ahh... I didn't click on the fact it was users apache logs... was thinking "apache logs" and only apache logs, the main ones :rolleyes: :D
Fixing to many problems of the same type leads to further problems (or so in this case) :)
If it's only some domains having the problem and John / Mark are looking into it your best optionis to probably just wait for their response.
Chris
DirectAdmin Support
02-24-2004, 09:30 AM
Hello,
Logs are rotated based on size.. so the admin can set a smaller logfile size in the Admin Settings (defaults to 100 meg). Perhaps a smaller default would be more appropriate.
John
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.