ecs-logging-python
ecs-logging-python copied to clipboard
As suggested, the call of `json.dumps` was moved to an internal helper in the `StruclogFormatter`, which now can be overwritten by inheriting classes. I was unsure how and if you...
Hi, While reading Structlog’s performance [guide](https://www.structlog.org/en/stable/performance.html), I wondered how to integrate [orjson](https://github.com/ijl/orjson) with `ecs_logging.StructlogFormatter`. From what I gathered, the standard library’s json module is used in `_utils.json_dumps` to provide encoding...
The [updated spec](https://github.com/elastic/ecs-logging-python/pull/87) expects `ecs.version` to be dotted, not nested, to match `log.level`.
The structlog logger only sets the log level, timestamp and log message while the stdlib logger is setting a lot of more stuff like exceptions, stack infos, thread/process infos. It...
#78 removed py2 support, but didn't switch all the type hinting over. That still needs to be done.
Hi, according to the ecs documentation non ecs standard fields should go under "custom." Also I might log data that should go to a certain ecs field but i'm not...
I recently advised a developer to add `ecs_logging.StructlogFormatter()` to our project. However he managed to use the stdlib code because they are on same page. I propose that stdlib setup...
It would be great to have an example that works with flask.
Hi, This is more of a question than an issue. Is there a validation feature in `ecs-logging-python` library? I wish to avoid mapping conflict later on during the application on-boarding...
is something like this possible example: ``` addItem='abcd' logger.info(f"added todo item {addItem} to the todo list") ``` *note: or any way of adding parametrized string log: `{'name': 'app.routes.controller', 'msg': 'added...