diff --git a/cli/server.go b/cli/server.go index f2178d470a078..9894e0c1f228b 100644 --- a/cli/server.go +++ b/cli/server.go @@ -792,6 +792,9 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd. return err } + // This should be output before the logs start streaming. + cliui.Infof(inv.Stdout, "\n==> Logs will stream in below (press ctrl+c to gracefully exit):") + if vals.Telemetry.Enable { gitAuth := make([]telemetry.GitAuth, 0) // TODO: @@ -1025,8 +1028,6 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd. } }() - cliui.Infof(inv.Stdout, "\n==> Logs will stream in below (press ctrl+c to gracefully exit):") - // Updates the systemd status from activating to activated. _, err = daemon.SdNotify(false, daemon.SdNotifyReady) if err != nil {