简体   繁体   中英

How to expose JMXConfigurator logback operations in Restful Webservices?

I need to change different log levels in runtime and I want to control the log levels changes by using restful webservices, but I got struck how to achieve this . can any of you help me on this?

From the below Image from Jconsole you can see log back operations like setLoggerLevel & getLoggerLevels. JMX配置器-JConsole

I need to expose these operations via Restful Webservices instead of accessing it from Jconsole.

Take a look at https://jolokia.org . It exposes the JVM's JMX services via REST.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM