Skip to content

Commit

Permalink
Use StandardLogger instead of erroring out
Browse files Browse the repository at this point in the history
  • Loading branch information
espadolini committed Jun 10, 2022
1 parent 7875ca2 commit b3d485d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -4205,7 +4205,7 @@ func validateConfig(cfg *Config) error {
}

if cfg.Log == nil {
return trace.BadParameter("config: please supply logger")
cfg.Log = logrus.StandardLogger()
}

if len(cfg.AuthServers) == 0 {
Expand Down

0 comments on commit b3d485d

Please sign in to comment.