Configuring size-rotating-file-handler in JBoss EAP 6/7

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.
  • Need to rotate my JBoss log with size

Environment

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