Skip to content

Commit

Permalink
remove unused logrus logger
Browse files Browse the repository at this point in the history
  • Loading branch information
rosstimothy committed Dec 30, 2024
1 parent 1b821a8 commit fd0e0bc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions lib/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,6 @@ type TeleportProcess struct {
// during in-process reloads.
id string

// log is a process-local logrus.Entry.
// Deprecated: use logger instead.
log logrus.FieldLogger
// logger is a process-local slog.Logger.
logger *slog.Logger

Expand Down Expand Up @@ -1183,7 +1180,6 @@ func NewTeleport(cfg *servicecfg.Config) (*TeleportProcess, error) {
storage: storage,
rotationCache: rotationCache,
id: processID,
log: cfg.Log,
logger: cfg.Logger,
cloudLabels: cloudLabels,
TracingProvider: tracing.NoopProvider(),
Expand Down
2 changes: 0 additions & 2 deletions lib/service/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,6 @@ func TestAthenaAuditLogSetup(t *testing.T) {
exitContext: context.Background(),
},
backend: backend,
log: utils.NewLoggerForTests(),
logger: utils.NewSlogLoggerForTests(),
}

Expand Down Expand Up @@ -1299,7 +1298,6 @@ func TestProxyGRPCServers(t *testing.T) {
},
},
},
log: utils.NewLoggerForTests(),
logger: utils.NewSlogLoggerForTests(),
}

Expand Down

0 comments on commit fd0e0bc

Please sign in to comment.