Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-286

%r in access log does not include query string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.Beta7
    • 1.0.14.Final
    • Core
    • None
    • Wildfly 8.1.0.Final (Undertow 1.0.15.Final).

    • Hide

      1. Open URL with a query string, i.e. 127.0.0.1:8080/?test=123
      2. Observe access log output: GET / HTTP/1.1.

      Show
      1. Open URL with a query string, i.e. 127.0.0.1:8080/?test=123 2. Observe access log output: GET / HTTP/1.1 .
    • Workaround Exists
    • Hide

      use %q for logging query string

      Show
      use %q for logging query string

      AccessLogHandler's javadoc says:

      %r - First line of the request

      That includes query string as far as I know. That is the case with JBoss Web/Tomcat.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              vsevolodgol Vsevolod Golovanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: