Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-json-logger
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-json-logger: updated to 4.2.0
4.2.0
Changed
Logging a dict no longer modifies it. exc_info and stack_info were previously added to the caller's dict.
Move development dependencies from project.optional-dependencies.dev to [dependency-groups].dev (PEP 735).
Fixed
$ style formats now support unbraced $name fields, not just ${name}
py-json-logger: updated to 4.1.0 4.1.0 Added Add support for Python 3.14, PyPy 3.11 Removed Remove support for Python 3.8, 3.9 (includes PyPy versions).
py-json-logger: updated to 4.0.0 4.0.0 Added Support DictConfigurator prefixes for rename_fields and static_fields. Allows using values like ext://sys.stderr in fileConfig/dictConfig value fields. Support comma seperated lists for Formatter fmt (style=",") e.g. "asctime,message,levelname" Note that this style is specific to python-json-logger and thus care should be taken not to pass this format to other logging Formatter implementations. Supports sequences of strings (e.g. lists and tuples) of field names for Formatter fmt. Changed Rename pythonjsonlogger.core.LogRecord and log_record arguments to avoid confusion / overlapping with logging.LogRecord. 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_record have not had their function name changed. Removed Remove support for providing strings instead of objects when instantiating formatters. Instead use the DictConfigurator ext:// prefix format when using fileConfig/dictConfig. Affects pythonjsonlogger.json.JsonFormatter: json_default, json_encoder, json_serializer. Affects pythonjsonlogger.orjson.OrjsonFormatter: json_default. Affects pythonjsonlogger.msgspec.MsgspecFormatter: json_default.
*: remove more references to (removed) Python 3.9
Fix PLIST after py-setuptools update; bump depends and revision
py-json-logger: updated to 3.3.0 3.3.0 Added exc_info_as_array and stack_info_as_array options are added to pythonjsonlogger.core.BaseJsonFormatter allowing both to be encoded as list of lines instead of a single multi-line string. Security Remove msgspec-python313-pre from dev dependencies preventing potential RCE.
py-json-logger: updated to 3.2.1 3.2.1 Import error on import pythonjsonlogger.jsonlogger 3.2.0 pythonjsonlogger.[ORJSON,MSGSPEC]_AVAILABLE no longer imports the respective package when determining availability. pythonjsonlogger.[orjson,msgspec] now throws a pythonjsonlogger.exception.MissingPackageError when required libraries are not available. These contain more information about what is missing whilst still being an ImportError. defaults parameter is no longer ignored and now conforms to the standard library. Setting a defaults dictionary will add the specified keys if the those keys do not exist in a record or weren't passed by the extra parameter when logging a message. typing_extensions is only installed on Python version < 3.10. Support Python 3.13 msgspec has only been tested against pre-release versions.
py-json-logger: added version 2.0.7 This library is provided to allow standard python logging to output log data as json objects. With JSON we can make our logs more readable by machines and we can stop writing custom parsers for syslog type records.