From a6a573f5dce0d3f3a0fa8a2f7d09e20489328fe4 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 5 Dec 2015 15:59:35 +0100 Subject: [PATCH] Fix STTRACE=http (it should use the http debug logger) --- cmd/syncthing/gui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index 6575ceac..4f617f6b 100644 --- a/cmd/syncthing/gui.go +++ b/cmd/syncthing/gui.go @@ -317,7 +317,7 @@ func debugMiddleware(h http.Handler) http.Handler { 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) } }) }