dlna: fix loggingResponseWriter disregarding log level
Some checks failed
Docker beta build / Build image job (push) Has been cancelled

This commit is contained in:
Simon Bos 2024-10-06 14:11:11 +02:00 committed by Nick Craig-Wood
parent 4db09331c6
commit 69897b97fb

View File

@ -108,7 +108,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)
} }