z.szalbot at lcwords.com
Wed Aug 20 15:22:33 UTC 2008
Rudi Kramer - MWEB pisze:
>> Zbigniew Szalbot
>> Sent: Wednesday, August 20, 2008 2:14 PM
>> To: User Questions
>> Subject: logrotate question
>> Dear all,
>> I am trying to use logrotate from ports and I am getting the following
>> error. Can anyone offer any insight?
> Hi Zbigniew,
> I started investigating logrotate but someone put me on to newsyslog
> Newsyslog is part of the FreeBSD and amazing simple to setup:
> 1) vi /etc/newsyslog.conf
> 2) Add the following line:
> /var/log/httpd/*.log www:www 644 60 * @T00 BJG
> I would recommend reading man pages newsyslog newsyslog.conf for more
Thanks for your post! Well, I really like newsyslog but I miss some
features in it.
1/ rotating based on time and size
2/ saving files with timestapms in their names
3/ moving rotated messages to another folder
This is why I am trying logrotate.
More information about the freebsd-questions