[client] Allow the netbird service to log to console (#3916)

This commit is contained in:
Viktor Liu
2025-06-03 13:09:39 +02:00
committed by GitHub
parent 06980e7fa0
commit 0cd36baf67
2 changed files with 2 additions and 2 deletions

View File

@ -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),
}
}

View File

@ -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)
}