Date: Wed, 19 Oct 2005 05:44:42 -0400 From: Nicolas Blais <nb_root@videotron.ca> To: freebsd-questions@freebsd.org Subject: Re: Apache log rotation Message-ID: <200510190544.49123.nb_root@videotron.ca> In-Reply-To: <200510190854.j9J8sFum044816@banyan.cs.ait.ac.th> References: <200510190854.j9J8sFum044816@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3606522.G0b48SaNLh Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On October 19, 2005 04:54 am, Olivier Nicole wrote: > Hi, > > If one install Apache from the ports, the logs go in /var/log, namely > in: > > ssl_request_log > httpd-access.log > ssl_engine_log > httpd-error.log > > Is there a clean way to rotate these logs a la newsyslog? > > I know I can use newsyslog to rotate them, but then how to notify > Apache to use the new log files? I don't expect a signal HUP sent to > httpd would be enough. > > Best regards, > > Olivier > I use ports/sysutils/cronolog/ which does a great job "transparently". Nicolas. =2D-=20 =46reeBSD 7.0-CURRENT #0: Sat Oct 15 12:09:14 EDT 2005 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? : http://www.clkroot.net/security/nb_root.asc --nextPart3606522.G0b48SaNLh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDVhWRz38ton5LGeIRAmGkAJ46zsHEBZejRWUxqj/plH/6h/+GPACgnISS WLzJIxlViibQX84CAjgMct4= =xQrd -----END PGP SIGNATURE----- --nextPart3606522.G0b48SaNLh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510190544.49123.nb_root>