Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tools/code_review_tools/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ def init_logger(
# E.g.: 'event' become 'msg' and, at the end, all remaining values from 'event_dict'
# are added as 'extra'
structlog.stdlib.render_to_log_kwargs,
# Render the message as key=repr(value) for both msg and extra arguments
structlog.processors.KeyValueRenderer(key_order=["msg"]),
]

structlog.configure(
Expand Down