Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-1997

StdoutAccessLogValve should also log X-Forwarded-For header

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Duplicate
    • Major
    • None
    • EAP70 1.5.0.GA
    • EAP7
    • None
    • 1
    • 0
    • 0% 0%

    Description

      The access log does not contain the original host doing the request if the request goes thorugh the haproxy. Only the haproxy IP address is visible in the access log

      11:35:32,027 INFO [org.jboss.openshift.valves.StdoutAccessLogValve] (http-0.0.0.0:8080-1) 10.1.0.1 - - [20/Jun/2017:11:35:31 +0000] "GET /kie-server/services/rest/server HTTP/1.1" 401 996

      It might be useful to also print the X-Forwarded-For header, so that the original IP address is logged.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tremes1@redhat.com Tomas Remes
              Marek Schmidt Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: