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

fix: wrap debug log when logger upated to using JSONLogFormatter #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brydoncheyney
Copy link

Messages logged by the __init() function by the json_logging logger are generally wrapped in ENABLE_JSON_LOGGING_DEBUG and ... - apart from one log event -

_logger.debug("Update all existing logger to using JSONLogFormatter")

This is the only message being logged by a scheduled job we have running that uses json-logging-python. This should only be logged if explicitly enabled via ENABLE_JSON_LOGGING_DEBUG.

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.

1 participant