Skip to content

Commit

Permalink
Switch to use zap.SugaredLogger for the OpAMP client's logger
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-bradley committed Jun 13, 2023
1 parent 4fbeefc commit 95329e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
27 changes: 0 additions & 27 deletions cmd/opampsupervisor/supervisor/opamplogger.go

This file was deleted.

2 changes: 1 addition & 1 deletion cmd/opampsupervisor/supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (s *Supervisor) getBootstrapInfo() (err error) {
}

func (s *Supervisor) startOpAMP() error {
s.opampClient = client.NewWebSocket(opAMPLogger{logger: s.logger})
s.opampClient = client.NewWebSocket(s.logger.Sugar())

settings := types.StartSettings{
OpAMPServerURL: s.config.Server.Endpoint,
Expand Down

0 comments on commit 95329e1

Please sign in to comment.