On Friday 31 March 2006 09.05, you wrote: > Hi. What is the best way to rotate apache logs on OpenBSD? Ideally I > would like to create a new one at the beginning of each month. I > searched my system for logrotate and could not find it. > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com
/etc/newsyslog.conf Like.... /var/www/logs/access_log 644 60 * $D0 Z /var/www/logs/httpd.pid SIGUSR1 One log per month sounds like they could grow a bit... I rotate every midnight. /Per-Olov -- GPG keyID: 4DB283CE GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE

