in reply to Re: moving old files
in thread moving old files
The best part is apache does not stop reponding for a short while during the HUP. I used to admin for a company that ran several hundred virtual hosts per apache install. That HUP can be noticable.- rename all of the log files - HUP apache - then archive the old log fles however you like
This setup gives me one access log and one error log per calendar day. I think you can setup log files per hour or minute if you want to.LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent} +i\"" combined ErrorLog "|/usr/local/sbin/cronolog /log/web/domain.com/%Y-%m-%d_err +or.log" CustomLog "|/usr/local/sbin/cronolog /log/web/domain.com/%Y-%m-%d_ac +cess.log" combined
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: moving old files
by brd (Acolyte) on Apr 21, 2006 at 05:06 UTC | |
|
Re^3: moving old files
by pbaumgar (Acolyte) on May 17, 2006 at 19:33 UTC |