dlna: fix loggingResponseWriter disregarding log level

This commit is contained in:
Simon Bos 2024-10-06 14:11:11 +02:00 committed by Nick Craig-Wood
parent 3191717572
commit 61bf29ed5e

View file

@ -107,7 +107,7 @@ func (lrw *loggingResponseWriter) logRequest(code int, err interface{}) {
err = "" err = ""
} }
fs.LogPrintf(level, lrw.request.URL, "%s %s %d %s %s", fs.LogLevelPrintf(level, lrw.request.URL, "%s %s %d %s %s",
lrw.request.RemoteAddr, lrw.request.Method, code, lrw.request.RemoteAddr, lrw.request.Method, code,
lrw.request.Header.Get("SOAPACTION"), err) lrw.request.Header.Get("SOAPACTION"), err)
} }