jiaqi / jmxterm

Interactive command line JMX client
http://docs.cyclopsgroup.org/jmxterm
Apache License 2.0
516 stars 154 forks source link

new verbosity level #3

Open jahlborn opened 11 years ago

jahlborn commented 11 years ago

it would be great if there were a new verbosity level, something like "ERROR_ONLY" which would print a brief error message for any error, but act like SILENT for any non-error messages.

jiaqi commented 11 years ago

I agree it'd be useful. Let me think about the best way to support it, thank you for suggestion.

jahlborn commented 7 years ago

FYI, this is how i handled it: https://github.com/jahlborn/jmxterm/commit/6b62c323c620b7fb7772597d5f20b22375e41b27

shshankar1 commented 6 years ago

@jahlborn can you please suggest how to fix issue https://github.com/jiaqi/jmxterm/issues/50?

jahlborn commented 6 years ago

@shshankar1 i'm not sure what you mean. is #50 somehow different than this issue? in my previous comment, i link to how i created an ERROR_ONLY verbosity level.

shshankar1 commented 6 years ago

@jahlborn issue is even if I set option --v silent in command line, still command run generates debug log statements. Is it expected behavior?