Ecs-logging

Latest version: v2.2.0

Safety actively analyzes 701563 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.0.2

- Fix an signature mismatch between `StdLibFormatter` and `logging.Formatter`,
which could cause issues in Django and Gunicorn
([54](https://github.com/elastic/ecs-logging-python/pull/54))

1.0.1

- 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` integration) ([46](https://github.com/elastic/ecs-logging-python/pull/46))
- Add default/fallback handling for json.dumps ([47](https://github.com/elastic/ecs-logging-python/pull/47))
- Fixed an issue in `StdLibFormatter` when `exc_info=False` ([42](https://github.com/elastic/ecs-logging-python/pull/42))

1.0.0

- Remove "beta" designation

0.6.0

- Add validation against the ecs-logging [spec](https://github.com/elastic/ecs-logging/blob/main/spec/spec.json) ([#31](https://github.com/elastic/ecs-logging-python/pull/31))
- Add support for `service.name` from APM log correlation ([32](https://github.com/elastic/ecs-logging-python/pull/32))
- Correctly order `timestamp`, `log.level`, and `message` fields ([28](https://github.com/elastic/ecs-logging-python/pull/28))

0.5.0

- Updated supported ECS version to 1.6.0 ([24](https://github.com/elastic/ecs-logging-python/pull/24))
- Added support for `LogRecord.stack_info` ([23](https://github.com/elastic/ecs-logging-python/pull/23))
- Fixed normalizing of items in `list` that aren't of type
`dict` ([22](https://github.com/elastic/ecs-logging-python/pull/22), contributed by [`camerondavison`](https://github.com/camerondavison))

0.4

- Added automatic collection of ECS fields `trace.id`, `span.id`, and `transaction.id` for
[Log Correlation](https://www.elastic.co/guide/en/apm/agent/python/master/log-correlation.html) with
the Python Elastic APM agent ([17](https://github.com/elastic/ecs-logging-python/pull/17))

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.