How to remove logs older than X days in JBoss EAP?

Solution Verified - Updated -

Issue

  • How to remove logs older than X number of days in JBoss EAP 6?
  • How to configure windows server to auto remove server.log.yyyy-mm-dd older than 30 days?

Environment

  • RedHat JBoss Enterprise Application Platform
    • 6.x
    • 7.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.