Apache log rotation

Olivier Nicole on at cs.ait.ac.th
Wed Oct 19 01:54:17 PDT 2005


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




More information about the freebsd-questions mailing list