mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Suppress logs of proxy events by default
This commit is contained in:
parent
d069a0a1b9
commit
43799819a1
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue