Access log pattern %D and %T (response time) prints "-" in Undertow in JBoss EAP 7

Solution Verified - Updated -

Issue

  • Use of %D and %T in access logs pattern to print the time taken to process the requests in milliseconds logs - instead of the actual time:

    <access-log pattern="Time Taken: %T %D %h %l %u %t %r %s %b %I %{COOKIE}i %{SET-COOKIE}o"/>
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content