Example of a size-rotating-file-handler configuration in JBoss

Solution Verified - Updated -

Issue

  • How to use SizeRotating file handler in the domain mode of JBoss EAP 6?
  • Provide an example of rotating log appender
  • How is the size-rotating-file-handler configured?
  • We are using Jboss-eap-6.1.1 and trying to rotate logs by size and want to back up max 5 files. Following are the changes we have made to standalone-full.xml file.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6

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.