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

[cmd/opampsupervisor] Add passthrough logging for collector #35474

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dpaasman00
Copy link
Contributor

@dpaasman00 dpaasman00 commented Sep 27, 2024

Description:

Allow collector logs to passthrough to stdout instead of strictly being sent to a file.

If configured to do so, the supervisor will capture collector output and log it using it's logger. This way, the supervisor should be configured to log to stdout if running in a containerized env.

This PR follows closely with this PR. Right now the supervisor exclusively logs to stdout, but under the assumption that it can be configured to log elsewhere, this change uses the supervisor logger rather than setting the collector's exec.Cmd to log to stdout and stderr.

Link to tracking Issue: Closes #35473

Testing:

Documentation:

@dpaasman00 dpaasman00 changed the title add passthrough logging for collector [cmd/opampsupervisor] Add passthrough logging for collector Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cmd/opampsupervisor] Allow collector logs to passthrough to stdout
1 participant