Ecs-logging

Latest version: v2.1.0

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

Scan your dependencies

Page 2 of 3

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))

0.3

- Added collecting `LogRecord.exc_info` into `error.*` fields
automatically for `StdlibFormatter` ([16](https://github.com/elastic/ecs-logging-python/pull/16))
- Added collecting process and thread info from `LogRecord` into `process.*` fields
automatically for `StdlibFormatter` ([16](https://github.com/elastic/ecs-logging-python/pull/16))
- Added `exclude_fields` parameter to `StdlibFormatter` to
exclude fields from being formatted to JSON ([16](https://github.com/elastic/ecs-logging-python/pull/16))
- Added `stack_trace_limit` parameter to `StdlibFormatter`
to control the number of stack trace frames being
formatted in `error.stack_trace` ([16](https://github.com/elastic/ecs-logging-python/pull/16))

Thanks to community contributor Jon Moore ([comcast-jonm](https://github.com/comcast-jonm))
for their contributions to this release.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.