Skip to content

Excessive logging in ordinary, non-verbose, log ("Proxy connection closed")

Since upgrading standalone proxies from v2.6.1 to v2.8.0, the (ordinary, non-verbose) log contains quite a few Proxy connection closed lines that were not there before.

Seems like the return value of EventOnProxyConnectionOver.String() (snowflake/common/event/interface.go:76 in v2.8.0) ends up in the log. Might be related to commit 648609db but I haven't looked closely.

Given that the OnClose() callback defined by the OnDataChannel() callback in makePeerConnectionFromOffer() (snowflake/proxy/lib/snowflake.go:401 in v2.8.0) does log Data Channel %s-%d close\n (when verbose logging is enabled), silencing the excessive logging to the non-verbose log shouldn't be a problem.