Every time my httpd-access.log file is rotated I need to restart Apache,
otherwise it won't write into the new httpd-access.log file.

In /etc/newsyslog.conf:

/var/log/httpd-access.log 644 4 100 * J /var/run/httpd.pid 30 /var/log/httpd-error.log 644 4 100 * J /var/run/httpd.pid 30

This will signal apache to do a graceful restart following a log rotation...

~Dan


_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to