Avoid double printing INFO deprecation messages

Fixes #11645
This commit is contained in:
Bjørn Erik Pedersen
2023-11-01 15:15:34 +01:00
parent a9079d7a63
commit 80f793c38d
6 changed files with 28 additions and 30 deletions

View File

@@ -31,9 +31,9 @@ func InitGlobalLogger(level logg.Level, panicOnWarnings bool) {
log = New(
Options{
Level: level,
Distinct: true,
HandlerPost: logHookLast,
Level: level,
DistinctLevel: logg.LevelInfo,
HandlerPost: logHookLast,
},
)
}