root(minor): sort keys in log output

This commit is contained in:
Langhammer, Jens 2019-10-15 15:40:38 +02:00
parent 4086252979
commit 13f4ea0b8b

View file

@ -288,7 +288,7 @@ with CONFIG.cd('log'):
'formatters': { 'formatters': {
"plain": { "plain": {
"()": structlog.stdlib.ProcessorFormatter, "()": structlog.stdlib.ProcessorFormatter,
"processor": structlog.processors.JSONRenderer(), "processor": structlog.processors.JSONRenderer(sort_keys=True),
"foreign_pre_chain": LOG_PRE_CHAIN, "foreign_pre_chain": LOG_PRE_CHAIN,
}, },
"colored": { "colored": {