[tor-commits] [snowflake/master] Have the broker log in UTC.

dcf at torproject.org dcf at torproject.org
Sat Jul 15 03:08:10 UTC 2017


commit 2242be7a5580cbafed9ccd35004e95213207e509
Author: David Fifield <david at bamsoftware.com>
Date:   Fri Jul 14 20:07:50 2017 -0700

    Have the broker log in UTC.
---
 broker/broker.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/broker/broker.go b/broker/broker.go
index 1673601..d969ce5 100644
--- a/broker/broker.go
+++ b/broker/broker.go
@@ -227,6 +227,8 @@ func ipHandler(w http.ResponseWriter, r *http.Request) {
 }
 
 func init() {
+	log.SetFlags(log.LstdFlags | log.LUTC)
+
 	ctx := NewBrokerContext()
 
 	go ctx.Broker()



More information about the tor-commits mailing list