Skip to content

add ability to disable logging from ThrowableHandlers#215

Open
katepol wants to merge 2 commits intomasterfrom
throwable-handlers-logging
Open

add ability to disable logging from ThrowableHandlers#215
katepol wants to merge 2 commits intomasterfrom
throwable-handlers-logging

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
Contributor

@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?


// 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
Contributor

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