Change logging levels using CLI commands in JBoss EAP 6 or 7

Solution Verified - Updated -

Issue

  • Change the logging levels using the CLI.
  • I need to enable logging on a specific package.
  • The Logging subsystem and logging.properties are set to INFO as a minimum, yet I see TRACE, DEBUG, FINE, FINER on module package names
  • How I can start in debug mode?
  • How can we change logging without a restart?
  • In JBoss EAP 4, jboss-services.xml could be used to log when configuration changes take effect. Is there something similar newer versions?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6
    • 7
  • JBoss EAP Command Line Interface (CLI)
  • Logging

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