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