mirror of
https://github.com/octoleo/syncthing.git
synced 2025-04-11 03:51:51 +00:00
Fix STTRACE=http (it should use the http debug logger)
This commit is contained in:
parent
415415b5b2
commit
a6a573f5dc
@ -317,7 +317,7 @@ func debugMiddleware(h http.Handler) http.Handler {
|
|||||||
written = rf.Int()
|
written = rf.Int()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
l.Debugf("http: %s %q: status %d, %d bytes in %.02f ms", r.Method, r.URL.String(), status, written, ms)
|
httpl.Debugf("http: %s %q: status %d, %d bytes in %.02f ms", r.Method, r.URL.String(), status, written, ms)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user