From ed9e5114a2b6ed019784e1646aad6fc3703139dc Mon Sep 17 00:00:00 2001 From: Louis Thibault Date: Wed, 20 Nov 2024 16:03:16 -0500 Subject: [PATCH] Add peer ID of host to process started log. --- cmd/internal/serve/serve.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/internal/serve/serve.go b/cmd/internal/serve/serve.go index 389e119..35edf8e 100644 --- a/cmd/internal/serve/serve.go +++ b/cmd/internal/serve/serve.go @@ -92,6 +92,7 @@ func serve() cli.ActionFunc { Host: h, Handler: system.HandlerFunc(func(ctx context.Context, p *proc.P) error { slog.InfoContext(ctx, "process started", + "peer", h.ID(), "pid", p.String()) <-ctx.Done()