mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix logger level (#9163)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
This commit is contained in:
parent
788a7a318c
commit
7eb9347ced
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ func Setup(logFormat string, level int) error {
|
|||
switch logFormat {
|
||||
case TextFormat:
|
||||
config := textlogger.NewConfig(
|
||||
textlogger.Verbosity(2),
|
||||
textlogger.Verbosity(level),
|
||||
textlogger.Output(os.Stdout),
|
||||
)
|
||||
globalLog = textlogger.NewLogger(config)
|
||||
|
|
Loading…
Reference in a new issue