Apache log rotation

Nicolas Blais nb_root at videotron.ca
Wed Oct 19 02:44:50 PDT 2005


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 at clk01a:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051019/f033d241/attachment.bin


More information about the freebsd-questions mailing list