[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [snowflake/master] Removed unecessary output from logs
commit 3eb9064438ca6242f935173aed88ec29a0c16c7d
Author: Cecylia Bocovich <cohosh@xxxxxxxxxxxxxx>
Date: Mon Mar 25 15:15:22 2019 -0400
Removed unecessary output from logs
Removed raw bytes of ICE answers from broker logs and the SDP stanzas
from the client logs
---
broker/broker.go | 2 +-
client/lib/webrtc.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/broker/broker.go b/broker/broker.go
index a41aadb..b3a255e 100644
--- a/broker/broker.go
+++ b/broker/broker.go
@@ -203,7 +203,7 @@ func proxyAnswers(ctx *BrokerContext, w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusBadRequest)
return
}
- log.Println("Received answer: ", body)
+ log.Println("Received answer.")
snowflake.answerChannel <- body
}
diff --git a/client/lib/webrtc.go b/client/lib/webrtc.go
index e71a407..fe8b44c 100644
--- a/client/lib/webrtc.go
+++ b/client/lib/webrtc.go
@@ -309,7 +309,7 @@ func (c *WebRTCPeer) exchangeSDP() error {
answer = nil
}
}
- log.Printf("Received Answer:\n\n%s\n", answer.Sdp)
+ log.Printf("Received Answer.\n")
err := c.pc.SetRemoteDescription(answer)
if nil != err {
log.Println("WebRTC: Unable to SetRemoteDescription:", err)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits