Date: Fri, 25 Nov 2005 16:38:14 -0800 From: "Dan O'Connor" <dan@ferrarishields.com> To: "Ladislav Bodnar" <distro.watch@msa.hinet.net>, <freebsd-stable@freebsd.org> Subject: Re: Rotating web server logs without restarting Apache Message-ID: <007601c5f221$b0d9e640$0599460a@Dan> References: <200511250845.43542.distro.watch@msa.hinet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007601c5f221$b0d9e640$0599460a>