Review logger for OTel components to use json format for agent logs #1263
Labels
frozen-due-to-age
Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
When I apply a json format to the agent logs, I get one (annoying) line, that is not json format from OTEL logger -
We use zap as logger for OTel components, so it should be simple to use a specific formatting (JSON in this case). We instantiate the logger in here https://github.com/grafana/agent/blob/main/pkg/traces/traces.go#L112-L126
The text was updated successfully, but these errors were encountered: