Rotating web server logs without restarting Apache
Ladislav Bodnar
distro.watch at msa.hinet.net
Sat Nov 26 01:55:37 GMT 2005
On Saturday 26 November 2005 08:38, Dan O'Connor wrote:
> 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...
Great, thanks a lot. I'll try this and report back if I still have a
problem.
Ladislav
More information about the freebsd-stable
mailing list