mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-22 16:24:18 -04:00
fix: change web requests log level to debug
This commit is contained in:
1 parent
ad63b8b1b4
commit
9f42e330b4
1 file changed
+1
-5
@@ -40,11 +40,7 @@ func RequestLogger(next http.Handler) http.Handler {
|
||||
case status >= 400:
|
||||
log.Warn(logArgs...)
|
||||
default:
|
||||
if log.CurrentLevel() >= log.LevelDebug {
|
||||
log.Debug(logArgs...)
|
||||
} else {
|
||||
log.Info(logArgs...)
|
||||
}
|
||||
log.Debug(logArgs...)
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user