Synchronize logging between JMX-Console and log4j2_root.yaml

Synchronize logging between JMX-Console and log4j2_root.yaml

If I set, in the log4j2_root.yaml file:  reconciliation.loglevel to DEBUG, then all files which use that appender are now in debug.  If I further go into the JMX-Console and set cmdb.reconciliation.log into 'INFO', that single appender is now in INFO logging.  It is not clear to a user why it is not in debug if it was changed from the JMX-Console.  Further, on reboot it will revert back to DEBUG specified in the .yaml file.  When log levels are changed in the JMX, they should reflect that change in the .yaml file in some way.  This will again mitigate confusion on how to know which log level is being used.

Tags (2)
2 Comments
Micro Focus Expert
Micro Focus Expert
Status changed to: Waiting for Votes

Thank you for sharing your idea! It’s open for comments and kudos, and we’re looking forward to input from the community. Once there is enough community traction, it will be further reviewed by the product team

Super Contributor.. AMensching Super Contributor..
Super Contributor..

I am surprised that for such a thing an enhancement request or an Idea Exchange must be created. It should be in the interest of the manufacturer that the logging should be well and uniformly configured.

About the Author
Bill has over 26 years of experience in the IT industry focusing on providing business solutions utilizing HPE Software’s tools at enterprise scale. He comes from the HPE-IT organization where he managed the first deployment of HPSC (now HPSM) and then later UCMDB with its discovery partner UD. Bill also managed a team of IT Developers, who created customized configuration management solutions for HPE-IT and HPE’s ES clients.
Most "Liked" Contributors
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.