Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ecs_logging to dependencies #1840

Merged
merged 3 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ endif::[]
* Add instrumentation for redis.asyncio {pull}1807[#1807]
* Add support for urllib3 v2.0.1+ {pull}1822[#1822]
* Add `service.environment` to log correlation {pull}1833[#1833]
* Add `ecs_logging` as a dependency {pull}1840[#1840]

[float]
===== Bug fixes
Expand Down
4 changes: 3 additions & 1 deletion docs/logging.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ Then, you could use a grok pattern like this (for the
[[log-reformatting]]
=== Log reformatting (experimental)

The agent can automatically reformat application to ECS format when the application includes the `ecs-logging-python` library in its dependencies.
Starting in version 6.16.0, the agent can automatically reformat application
logs to ECS format with no changes to dependencies. Prior versions must install
the `ecs_logging` dependency.

Log reformatting is controlled by the <<config-log_ecs_reformatting, `log_ecs_reformatting`>> configuration option, and is disabled by default.

Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ install_requires =
urllib3!=2.0.0,<3.0.0
certifi
wrapt>=1.14.1
ecs_logging
test_suite=tests

[options.entry_points]
Expand Down