-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graham North Sent: Thursday, July 08, 2004 9:32 PM To: [EMAIL PROTECTED]; Matthew Seaman Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Matthew Seaman Subject: Apache log rotation problems
Hello all: There has to be a simple fix to this problem - I am using newsyslog and cron to rotate my Apache logfiles. They get rotated and Apache keeps working however after a log rotation takes place Apache will not longer log my accesses. It does continue to serve pages but I need to do an apachectl restart in order for it to continue logging properly. newsyslog.conf and crontab files are attached for reference. Any help and suggestions greatly appreciated. Regards, Graham/ Hello, Try something like this: newsyslog.conf: /var/log/httpd-access.log 644 2 * @T00 B /var/run/httpd.pid 30 More info: http://www.freebsddiary.org/rotatelogs.php Best regards, Andras Kende http://www.kende.com _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"