python-json-logger
python-json-logger copied to clipboard
Remove default 'message' field
How can I avoid including message field in every log by default?
By logging a dict like:
a = {'foo': 'bar'}
logger.info(a)
I get the following output
{'message': null, 'foo': 'bar'}
How can I avoid that message field being added?