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
    • 8.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