You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/02/08 10:31:24 UTC

DO NOT REPLY [Bug 52624] New: Include the machine hostname in the response sent by mod_jk when an HTTP error occurs between mod_jk and a downstream application

https://issues.apache.org/bugzilla/show_bug.cgi?id=52624

             Bug #: 52624
           Summary: Include the machine hostname in the response sent by
                    mod_jk when an HTTP error occurs between mod_jk and a
                    downstream application
           Product: Tomcat Connectors
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_jk
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: orailean@gmail.com
    Classification: Unclassified


The current logging doesn't contain information useful to debug erorrs (HTTP
500 in our case). Including the machine hostname in the response sent by mod_jk
when an HTTP error occurs between mod_jk and a downstream application would
help us to be able to pinpoint the cause of such an HTTP error.

We added JkRequestLogFormat "%s %w %R %V %v %p %U %q %T [%r]" to the conf file
but in the logs there is no information about the machine hostname, only the
worker name:

500 lb1 worker1 webservices.examplecom webservices.example.com 80
/proxy/services/rpc  0.032618 [POST /rpc HTTP/1.0]

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52624] Include the machine hostname in the response sent by mod_jk when an HTTP error occurs between mod_jk and a downstream application

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

Rainer Jung <ra...@kippdata.de> changed:

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

--- Comment #1 from Rainer Jung <ra...@kippdata.de> 2012-02-08 13:53:37 UTC ---
I don't like that idea, because most admins would like to hide internal names
from data send to the outside world.

You *can* log that data in the access log. Please look for "mod_log_config" in
the page http://tomcat.apache.org/connectors-doc/reference/apache.html and
check the table of notes and how to add them to the access log.

If you have further question on this please contact the Tomcat users list.
Bugzilla is not a support forum, questions on how to use the software should be
discussed on the users list.

Regards,

Rainer

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org