Change logging levels using CLI commands in JBoss EAP

Solution Verified - Updated -

Issue

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

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x
    • 8.x
  • JBoss EAP Command Line Interface (CLI)
  • Red Hat Single Sign-On (RH-SSO) 7.x
  • 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