Changing Logback specific logger level to INFO. Plesa remember to add the jmx configuration to your logback.xml
<configuration scan="true" scanPeriod="5 seconds" >
<jmxConfigurator />
In order to be able to run the script you need groovy. You can install it by:
- official way: http://groovy.codehaus.org/Installing+Groovy
- oniliner way: http://gvmtool.net/ curl -s get.gvmtool.net | bash
- or run it via maven (description later ...)
Once you installed groovy you can run the script directly from github:
groovy https://raw.github.com/gist/5110992/getMbeanAttribute.groovy