How to customize date format pattern for access logging in JBoss EAP 7

Solution Unverified - Updated -

Issue

  • How do I customize date format pattern for access logging in JBoss EAP 7?
  • A default %t outputs date with a format like [01/Dec/2016:13:45:56 +0900]. I would like to change it like [2016-12-01 13:45:56]. How can I configure this?

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.