1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-10 20:00:23 +00:00

Update to use klog v2. Also turned down the default debug-level to 2 from 7 to avoid the lower level http logs that show up with klog v2 (#764)

This commit is contained in:
Chad Roberts
2025-08-07 13:40:36 -04:00
committed by GitHub
parent 6946ffe8aa
commit ac12e33508
3 changed files with 3 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ import (
"github.com/sirupsen/logrus"
"github.com/urfave/cli/v2"
"k8s.io/klog"
"k8s.io/klog/v2"
)
type Config struct {
@@ -51,7 +51,7 @@ func Flags(config *Config) []cli.Flag {
},
&cli.IntFlag{
Name: "debug-level",
Value: 7,
Value: 2,
Destination: &config.DebugLevel,
},
&cli.BoolFlag{