jmxtrans / jmxtrans-agent

Java Agent based JMX metrics exporter.
MIT License
179 stars 110 forks source link

How to set log level for jmxtrans-agent #161

Open aakarshg opened 2 years ago

aakarshg commented 2 years ago

Hello, I think the default log level for jmxtrans-agent is INFO, and this creates a lot of chatter when certain MBeans arent exposed all the time. How can I set the log-level to something higher such as ERROR?

aakarshg commented 2 years ago

Tagging @cyrille-leclerc as you seemed to be the most active contributor previously :)

aakarshg commented 2 years ago

hey @cyrille-leclerc gentle nudge in case you know how I can set the log level through the xml file or any other way..

cyrille-leclerc commented 2 years ago

Hello @aakarshg , sorry for the delay. I am no longer much active on this project. Could you please propose a PR?