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

fix: restore stderr logs when running on docker or systemd environments #41186

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

mauri870
Copy link
Member

@mauri870 mauri870 commented Oct 9, 2024

Proposed commit message

This PR updates elastic-agent-libs to the latest version in order to fix #41118.

Author's Checklist

  • Review the changes in elastic-agent-libs between v0.11.0...v0.12.1 and make sure there is no breaking changes added.

How to test this PR locally

cd filebeat
mage build
timeout 3 filebeat --environment docker

# filebeat json logs appear in the stderr

Related issues

@mauri870 mauri870 added bug Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team backport-8.15 Automated backport to the 8.15 branch with mergify backport-8.x Automated backport to the 8.x branch with mergify labels Oct 9, 2024
@mauri870 mauri870 self-assigned this Oct 9, 2024
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Oct 9, 2024
@mauri870 mauri870 force-pushed the fix-env-log-stderr branch 2 times, most recently from 98a32d0 to 9d19534 Compare October 9, 2024 15:44
@mauri870
Copy link
Member Author

mauri870 commented Oct 9, 2024

/test

@mauri870 mauri870 marked this pull request as ready for review October 10, 2024 10:39
@mauri870 mauri870 requested a review from a team as a code owner October 10, 2024 10:39
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@mauri870 mauri870 merged commit f369a28 into elastic:main Oct 10, 2024
141 checks passed
mauri870 added a commit that referenced this pull request Oct 11, 2024
…er or systemd environments (#41193)

* fix: restore stderr logs when running on docker or systemd environments

This PR updates elastic-agent-libs to the latest version in order to fix #41118.

(cherry picked from commit f369a28)

# Conflicts:
#	NOTICE.txt
#	go.mod
#	go.sum

* fix conflicts

---------

Co-authored-by: Mauri de Souza Meneguzzo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.x Automated backport to the 8.x branch with mergify backport-8.15 Automated backport to the 8.15 branch with mergify bug Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Beats do not log to stderr when running in a container or systemd environment
4 participants