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

Set grpc logger to collector #4501

Merged
merged 11 commits into from
Dec 13, 2021
Prev Previous commit
Next Next commit
fixed comments
  • Loading branch information
pavankrish123 committed Dec 3, 2021
commit 8199c1dedc081d1f9c62f84e9ebd72160785a5e6
1 change: 0 additions & 1 deletion service/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ func (col *Collector) setupConfigurationComponents(ctx context.Context) error {
return fmt.Errorf("failed to get logger: %w", err)
}

// must be called once - that too before any GRPC calls.
telemetrylogs.NewColGRPCLogger(col.logger, col.cfgW.cfg.Service.Telemetry.Logs.Level).SetGRPCLogger()

col.logger.Info("Applying configuration...")
Expand Down