AMQ Broker log rotation on OpenShift

Solution Verified - Updated -

Issue

  • How to change logging properties to do automatic log rotation based on date (i.e. keep only X days of logs) or by size (i.e. keep max 100 MB of log files)?
  • Is there any other way to limit the amount of logs being generated so that they do not fill up the persistent storage mount outside of completely turning file logging off?
  • Can the logging level be controlled on AMQ Broker instances the same way it can be adjusted on the operator?
  • Issue with persistent storage mount being filled up with logs.

Environment

  • AMQ Broker
    • 7.8.+
  • OpenShift Container Platform
    • 4.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