Thank you for taking the time to report this bug and helping to make Ubuntu better.
It would certainly be nice for logrotate to automatically pick up changes to /etc/apache2/envvars in case of local changes, but I'm not sure it's possible to configure logrotate to examine /etc/apache2/envvars at all. I don't see any mechanism in the logrotate configuration file format to do this. I think it would be reasonable to say that a sysadmin who wants to change the log directory must change all appropriate locations, including /etc/logrotate.d/apache2, as part of the interface currently provided by packaging. So while it would be nice for this to be automatic somehow, I think this a wishlist item as that is not the current interface. It's additionally complex to arrange without an existing mechanism for logrotate to dynamically peek into other packages' configuration files as part of its own configuration. ** Changed in: apache2 (Ubuntu) Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/1298739 Title: /etc/logrotate.d/apache2 ignores changes to $APACHE_LOG_DIR To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1298739/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs