Discrepancy between Apache httpd log time and JBoss log time

Solution Verified - Updated -


In Apache httpd the %t in LogFormat is the time the request was received and the access log is written once the process has been completed. This means that in httpd the access can be logged out of order based on timestamp.

In JBoss, the access log appears to be written once the page processing is completed. Is this how JBoss writes to it's access log? Can we make JBoss writes time (%t pattern) to its access log the same way apache does?


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x (JBossWeb)
    • 7.x (Undertow)
  • Red Hat JBoss Enterprise Web Server (EWS/JWS) (Tomcat)
    • 1.x
    • 2.x
    • 3.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