1
0
Fork 0
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:
shuting 2023-12-15 17:51:24 +08:00 committed by GitHub
parent 788a7a318c
commit 7eb9347ced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)