You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/12/25 02:34:41 UTC

[Bug 58769] New: CustomLog in main config does not work with CustomLog in vhosts at the same time

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: bugs@httpd.apache.org
          Reporter: apache-bugs.a2@x25.pl

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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58769] CustomLog in vhost overrides CustomLog in main config. Two can't work at the same time.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58769

apache-bugs.a2@x25.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|CustomLog in main config    |CustomLog in vhost
                   |does not work with          |overrides CustomLog in main
                   |CustomLog in vhosts at the  |config. Two can't work at
                   |same time                   |the same time.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58769] CustomLog in vhost overrides CustomLog in main config. Two can't work at the same time.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58769

--- Comment #1 from apache-bugs.a2@x25.pl ---
Looking at trunk code I see that you added new GlobalLog which I suspect
adresses this issue in apache 2.5 (?). Too bad that 1,5 years after commit of
this code this mysterious new directive is not documented -
https://httpd.apache.org/docs/trunk/logs.html

https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/loggers/mod_log_config.c

http://mail-archives.apache.org/mod_mbox/httpd-cvs/201406.mbox/%3C20140603131758.EB5112388868@eris.apache.org%3E

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58769] CustomLog in vhost overrides CustomLog in main config. Two can't work at the same time.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58769

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58769] CustomLog in vhost overrides CustomLog in main config. Two can't work at the same time.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58769

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Christophe JAILLET <ch...@wanadoo.fr> ---
It has also been backported in the 2.4.x branch.

It will be part of 2.4.19

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58769] CustomLog in vhost overrides CustomLog in main config. Two can't work at the same time.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58769

--- Comment #2 from Eric Covener <co...@gmail.com> ---
GlobalLog now documented in trunk.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org