mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 00:13:49 +01:00
dlna: fix loggingResponseWriter disregarding log level
This commit is contained in:
parent
4db09331c6
commit
69897b97fb
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user