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:
@@ -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{
|
||||
|
Reference in New Issue
Block a user