Add a log line

This commit is contained in:
Pavel Korotkov 2020-07-07 10:06:17 +03:00
parent 589ab11401
commit d6a970af48

2
app.go
View file

@ -103,8 +103,8 @@ func newApp(l *zap.Logger, v *viper.Viper) *App {
}
func (a *App) Wait(ctx context.Context) {
defer a.log.Info("application finished")
a.log.Info("application started")
select {
case <-a.wrkDone: // wait for worker is stopped
<-a.webDone