Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca227bd

Browse files
committed
fix: Log that the daemon has started
1 parent 810b2d2 commit ca227bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/daemon.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ func daemon() *cobra.Command {
5050
}
5151
defer listener.Close()
5252

53+
logger.Info(cmd.Context(), "daemon started", slog.F("url", accessURL.String()))
54+
5355
client := codersdk.New(accessURL)
5456
daemonClose, err := newProvisionerDaemon(cmd.Context(), client, logger)
5557
if err != nil {

0 commit comments

Comments
 (0)