log rotation recommendations

2007-03-24 Thread Jeffrey Goldberg
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

Re: log rotation recommendations

2007-03-24 Thread Matthew Seaman
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

Re: log rotation recommendations

2007-03-24 Thread Lars Kristiansen
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

Re: log rotation recommendations

2007-03-24 Thread Roger Olofsson
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