Undertow access log does not show request service time in Spring Boot application

Solution Verified - Updated -

Issue

An application using Undertow is configured to write an access log, with the %D or %T placeholders to indicate request time. These time fields are both displayed as "-" in the access log.

Environment

  • Red Hat Fuse 7.0
  • Spring Boot
  • Undertow HTTP server

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.