mirror of
https://github.com/navidrome/navidrome.git
synced 2025-08-10 00:52:20 +00:00
fix: change web requests log level to debug
This commit is contained in:
@@ -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