Apache Rotate Logs and Log Rotate

Matthias Fechner idefix at fechner.net
Thu Feb 15 12:27:11 UTC 2007


Hi Peter,

Peter Pluta wrote:
> Any feedback, suggestions, or comments would be greatly appreciated.

you can use newsyslog for this, see man newsyslog.conf for more details.
I use e.g. the following line:
/home/http/*/logs/*.log     664  72    *    $M1D0 JG  /var/run/httpd.pid


Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook


More information about the freebsd-questions mailing list