How to keep a fixed number of backups of periodic rotating logger in EAP 6?
Issue
What I really want to do is to have a limit on backups created by the periodic rotating file handler.
What we are experiencing right now is that the periodic rotating file handler continuously creates backups which is flooding our server. We want to limit the backups being created to at least around 10, and then delete the older backups automatically from the system.
Environment
JBoss Enterprise Application Platform 6.0.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
