Hello,
Having recently moved from Linux (SuSE) to FreeBSD (6.2-p3) I'm
wondering what the recommended way of rotating logs (principally
postfix and apache). I see that logrotate, with which I'm familiar,
is in ports. I also see that there is a file /etc/newsyslog.conf,
but it looks
Jeffrey Goldberg wrote:
Having recently moved from Linux (SuSE) to FreeBSD (6.2-p3) I'm
wondering what the recommended way of rotating logs (principally postfix
and apache). I see that logrotate, with which I'm familiar, is in
ports. I also see that there is a file /etc/newsyslog.conf, but
Matthew Seaman skrev:
Jeffrey Goldberg wrote:
Having recently moved from Linux (SuSE) to FreeBSD (6.2-p3) I'm
wondering what the recommended way of rotating logs (principally postfix
and apache). I see that logrotate, with which I'm familiar, is in
ports. I also see that there is a file
Hello Jeffrey,
I am not familiar with logrotate but my newsyslog.conf rotates whatever
I want just fine. As an example I have this for a small almost unused
apache:
/var/log/httpd-access.log 644 7 1000 24B
/var/run/httpd.pid 30
/var/log/httpd-error.log