From e25871d513a330d5469b256d4f7937c6702671b8 Mon Sep 17 00:00:00 2001 From: Natanael Rodriguez Ramos Date: Thu, 29 May 2025 12:04:09 +0100 Subject: [PATCH] fix(spn-hub): Disable duplicated logging --- cmds/hub/main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmds/hub/main.go b/cmds/hub/main.go index faef69ae..e7258fe4 100644 --- a/cmds/hub/main.go +++ b/cmds/hub/main.go @@ -9,7 +9,6 @@ import ( "github.com/spf13/cobra" "github.com/safing/portmaster/base/info" - "github.com/safing/portmaster/base/log" "github.com/safing/portmaster/base/metrics" "github.com/safing/portmaster/cmds/cmdbase" "github.com/safing/portmaster/service" @@ -75,10 +74,6 @@ func initializeGlobals(cmd *cobra.Command, args []string) { // Set SPN public hub mode. conf.EnablePublicHub(true) - // Set default log level. - log.SetLogLevel(log.WarningLevel) - _ = log.Start("warning", true, "") - // Configure SPN binary updates. configure.DefaultBinaryIndexName = "SPN Binaries" configure.DefaultStableBinaryIndexURLs = []string{