Skip to content

Commit

Permalink
Remove logrus from resource watcher (#47710)
Browse files Browse the repository at this point in the history
Now that gravitational/teleport.e#5165
has landed it is safe to remove the logrus logger from the resource
watcher.
  • Loading branch information
rosstimothy authored Oct 18, 2024
1 parent 913781b commit a0af294
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/services/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (

"github.com/gravitational/trace"
"github.com/jonboulle/clockwork"
"github.com/sirupsen/logrus"

"github.com/gravitational/teleport/api/constants"
apidefaults "github.com/gravitational/teleport/api/defaults"
Expand Down Expand Up @@ -90,8 +89,6 @@ func watchKindsString(kinds []types.WatchKind) string {
type ResourceWatcherConfig struct {
// Component is a component used in logs.
Component string
// TODO(tross): remove this once e has been updated.
Log logrus.FieldLogger
// Logger emits log messages.
Logger *slog.Logger
// MaxRetryPeriod is the maximum retry period on failed watchers.
Expand Down

0 comments on commit a0af294

Please sign in to comment.