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

Suppress netty.shaded debug stack traces in cli #4091

Closed
wants to merge 1 commit into from

Conversation

ghubstan
Copy link
Contributor

Configure cli loggers to avoid scary but ignorable netty debug
log messages with stack traces: "Reflective setAccessible(true)",
and those showing unsuccessful netty native lib load attempts.
It may be preferable to not use logback in cli, and achieve the
same result programmatically with slf4j, but this shows how to
hide this ugly log output in the meantime.

Remove comment about why these messages were logged, and switch
to non-deprecated ManagedChannelBuilder.forAddress(host, port)
.usePlaintext().build()
in BisqCliMain.

@ripcurlx ripcurlx requested a review from cbeams March 26, 2020 09:44
cbeams
cbeams previously approved these changes Mar 26, 2020
Copy link
Contributor

@cbeams cbeams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ripcurlx
Copy link
Contributor

@ghubstan Could you please resolve the conflict caused by a recent merge. Thanks!

@ripcurlx ripcurlx added waiting for author is:priority PR or issue marked with this label is up for compensation labels Mar 27, 2020
@ghubstan ghubstan force-pushed the configure-cli-logging branch 2 times, most recently from 6c8ae6d to f1939d0 Compare March 27, 2020 14:04
Configure cli loggers to avoid scary but ignorable netty debug
log messages with stack traces:  "Reflective setAccessible(true)",
and those showing unsuccessful netty native lib load attempts.
It may be preferable to not use logback in cli, and achieve the
same result programmatically with slf4j, but this shows how to
hide this ugly log output in the meantime.

Remove comment about why these messages were logged, and switch
to non-deprecated ManagedChannelBuilder.forAddress(host, port)
		.usePlaintext().build()
in BisqCliMain.
@ghubstan ghubstan force-pushed the configure-cli-logging branch from f1939d0 to 6bd7f22 Compare March 27, 2020 14:09
@ghubstan
Copy link
Contributor Author

@ripcurlx , merge conflict resolved

@ghubstan
Copy link
Contributor Author

Closing because merged PR #4097 has this change.

@ghubstan ghubstan closed this Mar 30, 2020
@ghubstan ghubstan deleted the configure-cli-logging branch March 30, 2020 18:31
@ghubstan ghubstan mentioned this pull request Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:priority PR or issue marked with this label is up for compensation waiting for author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants