json-logging-python
json-logging-python copied to clipboard
fix: wrap debug log when logger upated to using JSONLogFormatter
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.