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

Logging noise for "Unsafe is unavailable" #8852

Closed
sertugkaya opened this issue Sep 6, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@sertugkaya
Copy link

commented Sep 6, 2016

In 3.7 we seem to log in WARNING level the “unsafe unavailable” message along with the full stack trace (see

LOGGER.warning("Unable to get an instance of Unsafe. Unsafe-based operations will be unavailable", t);
)

while previously the stack trace was not logged in 3.6. We can not log the exception unless trace level is on.

@pveentjer

This comment has been minimized.

Copy link
Member

commented Sep 6, 2016

We should log the stacktrace when trace enabled, and otherwise just display the message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.