From 531d147936a264d57dd52c60c3e4e5f54823e9a3 Mon Sep 17 00:00:00 2001 From: Alexandr Stelnykovych Date: Thu, 22 May 2025 15:40:06 +0300 Subject: [PATCH] Improve logging message format --- service/process/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/process/profile.go b/service/process/profile.go index 4ade9a0d..5b3de094 100644 --- a/service/process/profile.go +++ b/service/process/profile.go @@ -152,7 +152,7 @@ func (p *Process) IsPortmasterUi(ctx context.Context) bool { return true // We are a WebView window of the Portmaster UI process. } // The process was launched by the Portmaster UI, but should not be trusted as the Portmaster UI process. - log.Tracer(ctx).Warningf("process: %d '%s' is a child of the Portmaster UI, but does not have the PORTMASTER_UI_WEBVIEW_PROCESS environment variable set. Ignoring.", p.Pid, p.Path) + log.Tracer(ctx).Warningf("process: %d %q is a child of the Portmaster UI, but does not have the PORTMASTER_UI_WEBVIEW_PROCESS environment variable set. Ignoring.", p.Pid, p.Path) return false }