Closed ndoornekamp closed 1 year ago
💚 CLA has been signed
Thanks for the quick review! Is there an ETA for the release?
Well, if I can ever get the docs build to actually go, I can probably release it in the next week or two. 😅
@elasticmachine, run elasticsearch-ci/docs
@elasticmachine, run elasticsearch-ci/docs
@ndoornekamp This is released: https://github.com/elastic/ecs-logging-python/releases/tag/2.1.0
When using the StructlogFormatter, logs with exceptions (e.g. produced by using
logger.exception(...)
) currently result in aexception
key at the root of the log, which is not a valid ECS field. It should be in theerror.stack_trace
field instead.This PR addresses a small part of the disparity between the StructlogFormatter and the StdlibFormatter . Until that is addressed in it's entirety, this patch will help users of this package (like myself) to output logs that comply with the ECS specification.