EAP 7 access log has bad file name after rotation

Solution Verified - Updated -

Issue

  • We've set up access logging like so with a . in our suffix:
<access-log pattern="%t %h %{i,X-Forwarded-For} %l %u &quot;%r&quot; %s %b %T" prefix="access" suffix=".log" directory="./" relative-to="custom.jboss.server.log.dir"/>
  • The file is good at first (access.log), but after rotation it is accessYYYY-MM-DD..log. We'd expect access.YYYY-MM-DD.log.

Environment

  • JBoss Enterprise Application Platform 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.