server.log not rolling with correct name

Solution Verified - Updated -

Issue

  • When a server.log rotates at maximum size it does not appear to append the correct name as specified in the log4j settings
  • We have log4j set to rotate at 1Gb and then append the name with the following:
<param name="MaxFileSize" value="1GB"/>
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> 

-This does not appear to be honoured as we are getting server.log.1

Environment

  • RedHat JBoss Enterprise Application Platform (EAP)
    • 5.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.