Change logging levels using CLI commands in JBoss EAP
Issue
- Change the logging levels using the CLI.
- Enable logging on a specific package.
- The logging subsystem and
logging.propertiesare 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.xmlcould 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.