From shell script I am invoking jmxterm command like below:
java -cp $component_home/$component_name-$buildVersion.jar org.cyclopsgroup.jmxterm.boot.CliMain --url "$jmxURL" -n -input $tmpfile
But it generates set of debug logs which I don't want to give to end user. Is there any way to switch off all log level except ERROR?
Welcome to JMX terminal. Type "help" for available commands.
domain is set to com.anz.markets.efx.client.stp
bean is set to com.anz.markets.efx.client.stp:name=ClientStpGridPublisherJMXEndpoint
calling operation reprocessFailedEvents of mbean com.anz.markets.efx.client.stp:name=ClientStpGridPublisherJMXEndpoint
operation returns:
15:12:08.453 [main] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - Setting default value: false
15:12:08.458 [main] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - Converting 'Boolean' value 'false' to type 'Boolean'
15:12:08.458 [main] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - No conversion required, value is already a Boolean
From shell script I am invoking jmxterm command like below:
java -cp $component_home/$component_name-$buildVersion.jar org.cyclopsgroup.jmxterm.boot.CliMain --url "$jmxURL" -n -input $tmpfile
But it generates set of debug logs which I don't want to give to end user. Is there any way to switch off all log level except ERROR?
Welcome to JMX terminal. Type "help" for available commands.
domain is set to com.anz.markets.efx.client.stp
bean is set to com.anz.markets.efx.client.stp:name=ClientStpGridPublisherJMXEndpoint
calling operation reprocessFailedEvents of mbean com.anz.markets.efx.client.stp:name=ClientStpGridPublisherJMXEndpoint
operation returns:
15:12:08.453 [main] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - Setting default value: false 15:12:08.458 [main] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - Converting 'Boolean' value 'false' to type 'Boolean' 15:12:08.458 [main] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - No conversion required, value is already a Boolean