Log server listening endpoint on startup

This commit is contained in:
Simon Hilchenbach 2022-01-22 23:03:10 +01:00
parent 27f4add84e
commit a38faeabc3
Signed by: shilch
GPG Key ID: A60AC63730A5DE56

View File

@ -90,6 +90,7 @@ var webCmd = &cobra.Command{
e.Logger.Fatal(err)
}
}
log.Infof("Server is running on %s", config.ServiceInterface.GetString())
if err := e.Start(config.ServiceInterface.GetString()); err != nil {
e.Logger.Info("shutting down...")
}