Summary: | Provide a logrotate sample file for Apache | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sylvain Demers <demerss> |
Component: | [OLD] Server | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sylvain Demers
2004-02-22 19:00:54 UTC
Added to 2.0.49. Thanks for the bug report and suggestion. The sample logrotate configuration placed into the portage tree on 2-April-2004 (/var/www/www.gentoo.org/raw_cvs/gentoo-x86/net-www/apache/files/apache2,v 1.1) has errors which are picked up daily by the logrotate cron job. Specifically, "notifempty" on line 8 is misspelled and line 10 should be preceded by "postrotate". The following is a corrected version: /var/log/apache2/*log { missingok notifempty sharedscripts postrotate /etc/init.d/apache2 reload > /dev/null 2>&1 || true endscript } |