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 2016/12/28 10:22:08 UTC

[Bug 60525] New: Add flag support to syslog logging method

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

            Bug ID: 60525
           Summary: Add flag support to syslog logging method
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: ben.rubson@gmail.com
  Target Milestone: ---

Hello,

ErrorLog can be configured to use syslog :
ErrorLog syslog

Would be nice if we could add a tag, as we can do with logger(1) :
-t tag  Mark every line in the log with the specified tag rather than the
        default of current login name.

We would then be able to tune the default "httpd" tag to something like
"httpd.myserver1", "httpd.myserver2" etc...

ErrorLog:<facility>:<tag>
ErrorLog::myserver1 --> would log to default facility, with httpd.myserver1
tag.

Thank you very much !

Ben

-- 
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 60525] Add flag support to syslog logging method

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

--- Comment #2 from Ben RUBSON <be...@gmail.com> ---
Patch submitted !
https://github.com/apache/httpd/pull/26

Thank you !

-- 
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 60525] Add flag support to syslog logging method

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

--- Comment #3 from Ben RUBSON <be...@gmail.com> ---
I just committed the doc part.

Thank you again,

Ben

-- 
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 60525] Add flag support to syslog logging method

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

Ben RUBSON <be...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

-- 
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 60525] Add flag support to syslog logging method

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

--- Comment #4 from Ben RUBSON <be...@gmail.com> ---
Any thoughts ?
Would really be glad to see this in 2.4.26 :)
Many thanks for your support !

-- 
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 60525] Add flag support to syslog logging method

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

--- Comment #1 from Ben RUBSON <be...@gmail.com> ---
Hello,

Any thoughts regarding this ?

Many thanks !

Ben

-- 
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 60525] Add flag support to syslog logging method

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

--- Comment #7 from Yann Ylavic <yl...@gmail.com> ---
Backported to 2.4.28 in r1807707.

-- 
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 60525] Add flag support to syslog logging method

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

--- Comment #8 from Ben RUBSON <be...@gmail.com> ---
Absolutely perfect, thank you very much Yann ! :)

-- 
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 60525] Add flag support to syslog logging method

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

Jim Jagielski <ji...@apache.org> changed:

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

--- Comment #5 from Jim Jagielski <ji...@apache.org> ---
Thx for the patch. It was revised for trunk and improved for some performance.
Will propose a backport for 2.4.x

-- 
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 60525] Add flag support to syslog logging method

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

--- Comment #6 from Ben RUBSON <be...@gmail.com> ---
Jim, excellent, I'm really glad, thank you very much !
Best,
Ben

-- 
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