client-python
client-python copied to clipboard
Update dependency python_json_logger to v4
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| python_json_logger | ~=3.3.0 -> ~=4.0.0 |
Release Notes
nhairs/python-json-logger (python_json_logger)
v4.0.0: 4.0.0
Added
- Support
DictConfiguratorprefixes forrename_fieldsandstatic_fields. #45- Allows using values like
ext://sys.stderrinfileConfig/dictConfigvalue fields.
- Allows using values like
- Support comma seperated lists for Formatter
fmt(style=",") e.g."asctime,message,levelname"#15- Note that this style is specific to
python-json-loggerand thus care should be taken not to pass this format to other logging Formatter implementations.
- Note that this style is specific to
- Supports sequences of strings (e.g. lists and tuples) of field names for Formatter
fmt. #16
Changed
- Rename
pythonjsonlogger.core.LogRecordandlog_recordarguments to avoid confusion / overlapping withlogging.LogRecord. #38- Affects arguments to
pythonjsonlogger.core.BaseJsonFormatter(and any child classes).-
serialize_log_record -
add_fields -
jsonify_log_record -
process_log_record
-
- Note: functions referring to
log_recordhave not had their function name changed.
- Affects arguments to
Removed
- Remove support for providing strings instead of objects when instantiating formatters. Instead use the
DictConfiguratorext://prefix format when usingfileConfig/dictConfig. #47- Affects
pythonjsonlogger.json.JsonFormatter:json_default,json_encoder,json_serializer. - Affects
pythonjsonlogger.orjson.OrjsonFormatter:json_default. - Affects
pythonjsonlogger.msgspec.MsgspecFormatter:json_default.
- Affects
Thanks @rubensa
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.