Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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.
-- 
FreeBSD 7.0-CURRENT #0: Sat Oct 15 12:09:14 EDT 2005     
root@clk01a:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDVhWRz38ton5LGeIRAmGkAJ46zsHEBZejRWUxqj/plH/6h/+GPACgnISS
WLzJIxlViibQX84CAjgMct4=
=xQrd
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510190544.49123.nb_root>