mirror of
https://github.com/LBRYFoundation/tracker.git
synced 2025-08-31 17:31:32 +00:00
Add really really verbose log level
This commit is contained in:
parent
f2cc5188dd
commit
bacf4f0fd4
1 changed files with 6 additions and 1 deletions
|
@ -45,11 +45,16 @@ func makeHandler(handler ResponseHandler) httprouter.Handle {
|
||||||
duration,
|
duration,
|
||||||
)
|
)
|
||||||
} else if glog.V(2) {
|
} else if glog.V(2) {
|
||||||
|
reqString := r.URL.Path
|
||||||
|
if glog.V(3) {
|
||||||
|
reqString = r.URL.RequestURI() + " for " + r.RemoteAddr
|
||||||
|
}
|
||||||
|
|
||||||
glog.Infof(
|
glog.Infof(
|
||||||
"Completed (%v:%s) %s in %v",
|
"Completed (%v:%s) %s in %v",
|
||||||
httpCode,
|
httpCode,
|
||||||
http.StatusText(httpCode),
|
http.StatusText(httpCode),
|
||||||
r.URL.Path,
|
reqString,
|
||||||
duration,
|
duration,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue