From 89705dd61f418df561ebbe7cf645ba82a61e47e7 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Tue, 11 Jun 2024 22:25:45 +0200 Subject: fix: Make use of the description --- pkg/worker/http.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/worker') diff --git a/pkg/worker/http.go b/pkg/worker/http.go index c4f9950..1559ba2 100644 --- a/pkg/worker/http.go +++ b/pkg/worker/http.go @@ -3,6 +3,7 @@ package worker import ( "context" "errors" + "log/slog" "net" "net/http" "net/url" @@ -36,6 +37,7 @@ func (s *ServerTask) Start(ctx context.Context) error { } go func() { + slog.Info("Serving", "addr", listen.Addr().String(), "network", listen.Addr().Network()) done <- server.Serve(listen) }() -- cgit v1.2.3