You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.
And as a side comment I'm pretty sure this was working as expected a few versions before so some of the newer commits must have changed the behaviour.
v2.0.4 works correctly
v2.0.5 works unexpectedly
When I rename some of the default field names using
rename_fields={key:key}
they are logged at the end of the json output.current behaviour:
Log output without rename fields:
{"asctime": "2023-02-21T22:02:12+0100", "levelname": "INFO", "name": "werkzeug", "funcName": "_log", "message": "127.0.0.1"}
Log output with rename fields:
{"name": "werkzeug", "funcName": "_log", "message": "127.0.0.1", "time": "2023-02-21T22:02:12+0100", "level": "INFO"}
expected behaviour:
Log output without rename fields:
{"asctime": "2023-02-21T22:02:12+0100", "levelname": "INFO", "name": "werkzeug", "funcName": "_log", "message": "127.0.0.1"}
Log output with rename fields:
{"time": "2023-02-21T22:02:12+0100", "level": "INFO", "name": "werkzeug", "funcName": "_log", "message": "127.0.0.1"}
--
used version: v2.0.7
used format:
"%(asctime)s %(levelname)s %(name)s %(funcName)s %(message)s"
The text was updated successfully, but these errors were encountered: