NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2660 most downloaded on PyPI
Logging formatters for ECS (Elastic Common Schema) in Python
Last release 8 months ago
19 Jan 2026
Release timing varies
gaps range from 3 weeks to 1.6 years
Nearly every release is documented
notes for 15 of 16 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
16 releases · first in 2020
One column per quarter.
Add ensure_ascii parameter to StdlibFormatter and StructlogFormatter to control non-ASCII character escaping
ensure_ascii parameter to StdlibFormatter and StructlogFormatter to control non-ASCII character escaping (#188)Full Changelog: 2.2.0...2.3.0
Use fromtimestamp instead of deprecated utcfromtimestamp
StructlogFormatter (#114)ecs.version (#118)fromtimestamp instead of deprecated utcfromtimestamp (#105)Full Changelog: 2.1.0...2.2.0
Add support for service.environment from APM log correlation
service.environment from APM log correlation (#96)Full Changelog: 2.0.2...2.1.0
Allow flit-core 3+ ( #94 ) Remove python2 leftovers ( #94 ) Full Changelog : 2.0.0...2.0.2
Full Changelog: 2.0.0...2.0.2
Add global extra context fields to StdLibFormatter
Fix an issue where APM fields would override user-provided fields even when APM wasn't installed
event.dataset field handling to match elastic-apm v6.6.0 (#69)Fix a signature mismatch between StdLibFormatter and logging.Formatter , which could cause issues in Django and Gunicorn
StdLibFormatter and logging.Formatter,StdLibFormatter and logging.Formatter,
which could cause issues in Django and Gunicorn
(#54)Fixed an issue in StructlogFormatter caused by a conflict with event (used for the log message ) and event.dataset (a field provided by the elasticapm
Remove "beta" designation
Add validation against the ecs-logging spec [ #31 ]
Updated supported ECS version to 1.6.0
Added automatic collection of ECS fields trace.id, span.id, and transaction.id for Log Correlation with the Python Elastic APM agent
trace.id, span.id, and transaction.id for
Log Correlation with the Python Elastic APM agent (#17)Added collecting LogRecord.exc_info into error.* fields automatically for StdlibFormatter
LogRecord.exc_info into error.* fields
automatically for StdlibFormatter (#16)LogRecord into process.* fields
automatically for StdlibFormatter (#16)exclude_fields parameter to StdlibFormatter to
exclude fields from being formatted to JSON (#16)stack_trace_limit parameter to StdlibFormatter
to control the number of stack trace frames being
formatted in error.stack_trace (#16)Thanks to community contributor Jon Moore (@comcast-jonm) for their contributions to this release.
Added support for using log(..., extra={...}) on standard library loggers to use extended and custom fields
log(..., extra={...}) on standard library
loggers to use extended and custom fields (#8)Added StdlibFormatter for use with the standard library logging module
StdlibFormatter for use with the standard library logging moduleStructlogFormatter for use with the structlog packageNothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →