Suppress logs of proxy events by default

This commit is contained in:
Cecylia Bocovich 2024-11-28 09:43:27 -05:00
parent d069a0a1b9
commit 43799819a1
No known key found for this signature in database
GPG key ID: 009DE379FD9B7B90

View file

@ -32,11 +32,10 @@ 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())
// Suppress logs of these events
// https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40310
// https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40413
}
}