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, 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