httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 56517] New: Virtualhosts cannot inherit parent CustomLog
Date Mon, 12 May 2014 20:25:17 GMT

            Bug ID: 56517
           Summary: Virtualhosts cannot inherit parent CustomLog
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: PatchAvailable
          Severity: enhancement
          Priority: P2
         Component: mod_log_config

Created attachment 31612
Add GlobalLog directive

A virtualhost can specify its own CustomLog directives, but when this is done,
the vhost no longer uses the parent CustomLog directives. From a comment in the
source, this was apparently done purposefully. However, it seems that there
should be some mechanism for allowing virtualhosts to inherit the CustomLog of
the parent configuration.

At first, I tried to add another optional parameter to CustomLog, but it turned
out to be somewhat more complicated than I'd anticipated; CustomLog already has
an optional parameter, and the AP_INIT_TAKE macros only go up to 3 parameters.
As an alternative, the patch attached introduces a new directive, GlobalLog,
which is essentially equivalent to CustomLog except that all child virtualhosts
also inherit the log.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message