[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [snowflake/master] Have the broker log in UTC.
commit 2242be7a5580cbafed9ccd35004e95213207e509
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits