Mackan wrote:
Hi!
What is the preferred way of rotating Apache's logfiles?
I have many virtual domains, each with its own access and error logfile.
I'm using CustomLog, not TransferLog. Apache is chrooted.
Adding every logfile to /etc/newsyslog.conf is one way, but hard to
maintain. Is Apache's own rotatelogs program the way to go?
Mackan
Savelogs, if it's available, is a nice method, at least on FreeBSD.
It's not in the ports or packages list for i386 on OpenBSD 3.9, but it's
a perl script, so I would think it's doable.