Change traefik cmd error log to error level

This commit is contained in:
Tom Moulard 2022-12-07 11:34:06 +01:00 committed by GitHub
parent 8cf9385938
commit 6c75052a13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,7 @@ Complete documentation is available at https://traefik.io`,
err = cli.Execute(cmdTraefik) err = cli.Execute(cmdTraefik)
if err != nil { if err != nil {
stdlog.Println(err) log.Error().Err(err).Msg("Command error")
logrus.Exit(1) logrus.Exit(1)
} }