diff options
author | Cecylia Bocovich <cohosh@torproject.org> | 2023-12-13 14:01:13 -0500 |
---|---|---|
committer | Cecylia Bocovich <cohosh@torproject.org> | 2023-12-21 10:39:48 -0500 |
commit | 9f330caa0810059998687b5eb3b284a701693152 (patch) | |
tree | 18719efdb7438ebcffe6eedad04a8e201253534d | |
parent | 91ffc333d6d2e4e5fae9ec318f40f09289d709f7 (diff) | |
download | snowflake-9f330caa0810059998687b5eb3b284a701693152.tar.gz snowflake-9f330caa0810059998687b5eb3b284a701693152.zip |
Suppress logs of EventOnProxyConnectionOver
-rw-r--r-- | proxy/lib/pt_event_logger.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proxy/lib/pt_event_logger.go b/proxy/lib/pt_event_logger.go index 810259a..04c71ba 100644 --- a/proxy/lib/pt_event_logger.go +++ b/proxy/lib/pt_event_logger.go @@ -25,6 +25,9 @@ func (p *proxyEventLogger) OnNewSnowflakeEvent(e event.SnowflakeEvent) { if !p.disableStats { p.logger.Println(e.String()) } + case event.EventOnProxyConnectionOver: + // Suppress logs of this event + // https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40310 default: p.logger.Println(e.String()) } |