mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 02:37:18 +03:00
fix: change web requests log level to debug
This commit is contained in:
parent
ad63b8b1b4
commit
9f42e330b4
@ -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...)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user