Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there is any way to switch off debug log statements? #50

Open
shshankar1 opened this issue Mar 13, 2018 · 0 comments
Open

Is there is any way to switch off debug log statements? #50

shshankar1 opened this issue Mar 13, 2018 · 0 comments

Comments

@shshankar1
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant