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

add ability to disable logging from ThrowableHandlers #215

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

katepol
Copy link
Contributor

@katepol katepol commented Nov 16, 2017

No description provided.

@katepol katepol requested a review from glebleonov November 16, 2017 10:56
@katepol katepol force-pushed the throwable-handlers-logging branch from 470fd65 to d1bae32 Compare November 16, 2017 11:06
Copy link
Collaborator

@glebleonov glebleonov left a comment

Choose a reason for hiding this comment

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

What is the purpose of this change?

@@ -103,17 +113,15 @@ public static void handle(Throwable t) {
}

// ourForceProduction is used only in tests, where severe level is logged by default.
if (!ourForceProduction.get()) {
if (!FORCE_PRODUCTION.get() && LOGGING_ENABLED.get()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

We need to fix comment above as well

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

Successfully merging this pull request may close these issues.

2 participants