Yes, I've written a little about
syslogd and the associated
newsyslog previously, but here's a nice concrete example on how to use it. The gist of it all is that you just add the following line to your
/etc/newsyslog.conf file:
/var/log/httpd-access_log 644 7 100 24 B /var/run/httpd.pid 30
Or at least one very much like it. Read more here:
The FreeBSD Diary -- Apache - rotating log filesIn fact, I'm going to head off and add this right now!
No comments:
Post a Comment