I'm trying to get newsyslog to rotate my apache2 logs (this in 7.0 & 7.1 
release).

I added this to the end of newsyslog.conf


/var/log/httpd-*.log        644  9     8    @T01    BG /var/run/httpd.pid 30


this is what is currently working for me in 6.0 & 6.1. Signal 30 is supposed to be USR1 which is intended to cause a graceful restart.

However, I find that although I do get a rotated log file the new logs always seem to be empty.

The logs seem to start growing only after I restart the apache server.

What am I doing wrong?
--
Robin Becker
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to