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