apache log files rotation

Dave McCammon davemac11 at yahoo.com
Wed Mar 3 07:56:38 PST 2004


--- fbsd_user <fbsd_user at a1poweruser.com> wrote:
> Can apache logs be rotated by /etc/newsyslog.conf?
> If not, how is it normally done?
> 
> _______________________________________________
>

Here is the relevent portion of my newsyslog.conf

/var/log/httpd-access.log     640  14    *    $D0   Z 
 /var/run/httpd.pid
/var/log/httpd-error.log      640  14    *    $D0   Z 
 /var/run/httpd.pid

"man newsyslog" for more info on the fields.



__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com


More information about the freebsd-questions mailing list