Date: Sat, 26 Nov 2005 09:55:29 +0800 From: Ladislav Bodnar <distro.watch@msa.hinet.net> To: freebsd-stable@freebsd.org Subject: Re: Rotating web server logs without restarting Apache Message-ID: <200511260955.29350.distro.watch@msa.hinet.net> In-Reply-To: <007601c5f221$b0d9e640$0599460a@Dan> References: <200511250845.43542.distro.watch@msa.hinet.net> <007601c5f221$b0d9e640$0599460a@Dan>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 26 November 2005 08:38, Dan O'Connor wrote: > In /etc/newsyslog.conf: > > /var/log/httpd-access.log =A0 =A0 =A0 =A0 =A0 =A0 =A0 644 =A04 =A0 =A0 10= 0 =A0* =A0 =A0 J > /var/run/httpd.pid =A030 > /var/log/httpd-error.log =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0644 =A04 =A0 =A0 = 100 =A0* =A0 =A0 J > /var/run/httpd.pid =A030 > > 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=20 problem. Ladislav
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511260955.29350.distro.watch>