fix(spn-hub): Disable duplicated logging
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/safing/portmaster/base/info"
|
"github.com/safing/portmaster/base/info"
|
||||||
"github.com/safing/portmaster/base/log"
|
|
||||||
"github.com/safing/portmaster/base/metrics"
|
"github.com/safing/portmaster/base/metrics"
|
||||||
"github.com/safing/portmaster/cmds/cmdbase"
|
"github.com/safing/portmaster/cmds/cmdbase"
|
||||||
"github.com/safing/portmaster/service"
|
"github.com/safing/portmaster/service"
|
||||||
@@ -75,10 +74,6 @@ func initializeGlobals(cmd *cobra.Command, args []string) {
|
|||||||
// Set SPN public hub mode.
|
// Set SPN public hub mode.
|
||||||
conf.EnablePublicHub(true)
|
conf.EnablePublicHub(true)
|
||||||
|
|
||||||
// Set default log level.
|
|
||||||
log.SetLogLevel(log.WarningLevel)
|
|
||||||
_ = log.Start("warning", true, "")
|
|
||||||
|
|
||||||
// Configure SPN binary updates.
|
// Configure SPN binary updates.
|
||||||
configure.DefaultBinaryIndexName = "SPN Binaries"
|
configure.DefaultBinaryIndexName = "SPN Binaries"
|
||||||
configure.DefaultStableBinaryIndexURLs = []string{
|
configure.DefaultStableBinaryIndexURLs = []string{
|
||||||
|
|||||||
Reference in New Issue
Block a user