open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
3.09k stars 2.38k forks source link

[cmd/opampsupervisor] Add configurable supervisor logging #35466

Closed dpaasman00 closed 1 month ago

dpaasman00 commented 1 month ago

Component(s)

cmd/opampsupervisor

Is your feature request related to a problem? Please describe.

Right now the supervisor strictly logs to stdout which can be a pain point when trying to monitor the supervisor's logs.

Describe the solution you'd like

Add the option to configure how the supervisor logs data like log level and output destinations.

Describe alternatives you've considered

You could just pipe the process output to a file, but that seems tedious. That approach also doesn't allow configuring log level output or other helpful logging configuration options.

Additional context

I have a solution in progress for this feature request.

github-actions[bot] commented 1 month ago

Pinging code owners: