commit 55bf117d1ae5b362e4d4fc7dc3ff9a1788b84830 Author: Shelikhoo xiaokangwang@outlook.com Date: Mon Dec 13 16:47:23 2021 +0000
Reduce PT Event Logger Verbosity --- client/lib/pt_event_logger.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/lib/pt_event_logger.go b/client/lib/pt_event_logger.go index b183005..46b4e05 100644 --- a/client/lib/pt_event_logger.go +++ b/client/lib/pt_event_logger.go @@ -21,7 +21,7 @@ func (p ptEventLogger) OnNewSnowflakeEvent(e event.SnowflakeEvent) { if e.Error != nil { pt.Log(pt.LogSeverityError, fmt.Sprintf("offer creation failure %v", e.Error.Error())) } else { - pt.Log(pt.LogSeverityNotice, fmt.Sprintf("offer created %v", e.WebRTCLocalDescription)) + pt.Log(pt.LogSeverityNotice, fmt.Sprintf("offer created")) }
case event.EventOnBrokerRendezvous: @@ -29,7 +29,7 @@ func (p ptEventLogger) OnNewSnowflakeEvent(e event.SnowflakeEvent) { if e.Error != nil { pt.Log(pt.LogSeverityError, fmt.Sprintf("broker failure %v", e.Error.Error())) } else { - pt.Log(pt.LogSeverityNotice, fmt.Sprintf("broker rendezvous peer %v", e.WebRTCRemoteDescription)) + pt.Log(pt.LogSeverityNotice, fmt.Sprintf("broker rendezvous peer received")) }
case event.EventOnSnowflakeConnected:
tor-commits@lists.torproject.org