Skip to content

add ability to disable logging from ThrowableHandlers#215

Open
Ekaterina Frolova (katepol) wants to merge 2 commits into
masterfrom
throwable-handlers-logging
Open

add ability to disable logging from ThrowableHandlers#215
Ekaterina Frolova (katepol) wants to merge 2 commits into
masterfrom
throwable-handlers-logging

Conversation

@katepol

Copy link
Copy Markdown
Contributor

No description provided.

@glebleonov Gleb Leonov (glebleonov) left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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