json-logging-python icon indicating copy to clipboard operation
json-logging-python copied to clipboard

fix: wrap debug log when logger upated to using JSONLogFormatter

Open brydoncheyney opened this issue 1 year ago • 0 comments

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 -

https://github.com/bobbui/json-logging-python/blob/0e520ccafbabdd3cb2ee1e4a48e342df1fde8c95/json_logging/init.py#L130

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.

brydoncheyney avatar May 31 '24 14:05 brydoncheyney