mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-14 11:17:19 +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:
|
case status >= 400:
|
||||||
log.Warn(logArgs...)
|
log.Warn(logArgs...)
|
||||||
default:
|
default:
|
||||||
if log.CurrentLevel() >= log.LevelDebug {
|
log.Debug(logArgs...)
|
||||||
log.Debug(logArgs...)
|
|
||||||
} else {
|
|
||||||
log.Info(logArgs...)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user