https://bz.apache.org/bugzilla/show_bug.cgi?id=58769

            Bug ID: 58769
           Summary: CustomLog in main config does not work with CustomLog
                    in vhosts at the same time
           Product: Apache httpd-2
           Version: 2.4.18
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_log_config
          Assignee: [email protected]
          Reporter: [email protected]

CustomLog in main config does not work with CustomLog in vhosts at the same
time. CustomLog in main config only "catches" logs for vhosts that has no
CustomLog line in them. CustomLog in vhosts overrides CustomLog in main config.
This should not be so. Those should be able to work at the same time. CustomLog
in main config should catch every single request no matter if it were logged by
CustomLog in vhosts or not.

possible use case for such "feature":
Most cases you can't put CustomLog |/myscript in every vhost because it will
spawn /myscript multipletimes. Still you can't put CustomLog |/myscript in main
config since it will not catch anything if you already got CustomLog
/logs/vhostXX-log in vhosts

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to