Updating JBoss log4j logging thresholds while running

Solution Verified - Updated -

Issue

  • I need to change logging thresholds for certain categories at runtime.  What options do we have for this?
  • How to change logging level from JMX console without restarting the server instance?
  • Does turning up logging to TRACE for JBossManagedConnectionPool requires JBoss restart?
  • Tracing is not possible in production, since we don't know when the issue appears

Environment

  • JBoss Enterprise Application Platform (EAP) 5
  • log4j
  • settings defined in jboss-lg4j.xml

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