How to rotate JBoss EAP server.log at AM and PM

Solution Verified - Updated -

Issue

  • JBoss EAP logs AM PM rotation.
  • We would like to rotate the logs to AM and PM, like at 12:00 noon a new server.log should start. We have looked in to this configuration setting in standalone.xml to rotate the logs every AM and PM:
 <file relative-to="jboss.server.log.dir" path="server.log"/>
                <suffix value=".yyyy-MM-dd-a"/>
                <append value="true"/>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 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