Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5489

(7.1.0) Extended format of access-log - 'time-taken' identifier is just empty string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.1.0.DR5
    • 7.0.1.GA
    • Undertow
    • None
    • Hide

      1. Start EAP and connect to CLI
      2. /subsystem=undertow/server=default-server/host=default-host/setting=access-log:add(extended=true,pattern="time-taken")
      3. perform request on server and see content in EAP_HOME/standalone/log/access_log.log file

      Show
      1. Start EAP and connect to CLI 2. /subsystem=undertow/server=default-server/host=default-host/setting=access-log:add(extended=true,pattern="time-taken") 3. perform request on server and see content in EAP_HOME/standalone/log/access_log.log file

      When I set up access log for Undertow with extended format and use 'time-taken' identifier in pattern, appropriate value is not logged into the access log file. There is only empty string added.

      Expected: actual value (should be in seconds according to this) of time taken for request is logged.

      How to reproduce - see 'Steps to Reproduce' section.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: