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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In