[opensuse-factory] logrotate and apache 2.4
I'm running apache 2.4 from Factory, and I've noticed an issue with logrotate. It seems that apache does not reopen a logfile when 'systemctl reload apache2' is issued. My virtual hosts all have this: CustomLog /srv/www/vhosts/vhost_access_log vhost To rotate that log: /srv/www/vhosts/vhost_access_log { compress dateext maxage 365 rotate 30 daily notifempty missingok create 644 root root sharedscripts postrotate systemctl reload apache2 endscript } Has anyone else noticed this? -- Per Jessen, Zürich (12.1°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Per Jessen wrote:
I'm running apache 2.4 from Factory, and I've noticed an issue with logrotate. It seems that apache does not reopen a logfile when 'systemctl reload apache2' is issued.
https://bugzilla.novell.com/show_bug.cgi?id=844865 -- Per Jessen, Zürich (12.8°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
Per Jessen