mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 05:07:51 +08:00
dlna: fix loggingResponseWriter disregarding log level
Some checks failed
Docker beta build / Build image job (push) Has been cancelled
Some checks failed
Docker beta build / Build image job (push) Has been cancelled
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