diff --git a/server.go b/server.go index 3b63f88..9f22070 100644 --- a/server.go +++ b/server.go @@ -98,10 +98,10 @@ func server( wg := sync.WaitGroup{} wg.Add(2) - log.Debug().Msg("Starting server") - addr := fmt.Sprintf(":%d", config.C.Port) + log.Info().Str("addr", addr).Msg("Starting server") + go func() { <-ctx.Done()