apache-mod-brotli icon indicating copy to clipboard operation
apache-mod-brotli copied to clipboard

Documentation: CustomLog does not always work as expected

Open meyergru opened this issue 7 years ago • 1 comments

In the README, there is a CustomLog directive, which does nothing if VirtualHosts with other CustomLog directives active. This gives the false impression that mod_brotli does not work, since the log file is present, but nothing will ever get logged for affected VirtualHosts.

This is especially true for distributions like Ubuntu where the modules are pre-loaded globally and the configuration section is copied to a module-related configuration file.

Apache >= 2.4.19 has added a GlobalLog directive for this purpose, but is not yet present in most current distributions.

Therefore, the apache-mod-brotli documentation should note that the CustomLog directive must be moved to the VirtualHost section in order to work.

meyergru avatar Dec 21 '16 12:12 meyergru

Thank you for poiting that out, I was wondering why I did not get any logs in the specified logfile

wioxjk avatar Mar 20 '17 09:03 wioxjk