From 0cd36baf67daf068c6e9194c96a4835a56f68a08 Mon Sep 17 00:00:00 2001 From: Viktor Liu <17948409+lixmal@users.noreply.github.com> Date: Tue, 3 Jun 2025 13:09:39 +0200 Subject: [PATCH] [client] Allow the netbird service to log to console (#3916) --- client/cmd/service.go | 2 +- client/cmd/service_installer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmd/service.go b/client/cmd/service.go index 3560088a7..005479306 100644 --- a/client/cmd/service.go +++ b/client/cmd/service.go @@ -30,7 +30,7 @@ func newSVCConfig() *service.Config { return &service.Config{ Name: serviceName, DisplayName: "Netbird", - Description: "A WireGuard-based mesh network that connects your devices into a single private network.", + Description: "Netbird mesh network client", Option: make(service.KeyValue), } } diff --git a/client/cmd/service_installer.go b/client/cmd/service_installer.go index 99a4821b0..c1d6308c6 100644 --- a/client/cmd/service_installer.go +++ b/client/cmd/service_installer.go @@ -39,7 +39,7 @@ var installCmd = &cobra.Command{ svcConfig.Arguments = append(svcConfig.Arguments, "--management-url", managementURL) } - if logFile != "console" { + if logFile != "" { svcConfig.Arguments = append(svcConfig.Arguments, "--log-file", logFile) }