ecs-logging-python icon indicating copy to clipboard operation
ecs-logging-python copied to clipboard

Results 17 ecs-logging-python issues
Sort by recently updated
recently updated
newest added

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

agent-python
triage
community

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

agent-python
triage
community

The [updated spec](https://github.com/elastic/ecs-logging-python/pull/87) expects `ecs.version` to be dotted, not nested, to match `log.level`.

agent-python

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

enhancement
agent-python
community

#78 removed py2 support, but didn't switch all the type hinting over. That still needs to be done.

agent-python

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

agent-python

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

agent-python
triage
community

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

agent-python

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