koding / websocketproxy

WebSocket reverse proxy handler for Go
http://godoc.org/github.com/koding/websocketproxy
MIT License
427 stars 120 forks source link

Error-only log printing #18

Closed dsamarin closed 6 years ago

dsamarin commented 6 years ago

Can there be an option that lets us control how verbose the log printing is? With thousands of clients and hundreds of messages, it is going to be quite excessive to have millions of

websocketproxy: copying from client to backend completed without error.
websocketproxy: copying from backend to client completed without error.

in the logs, especially when operations are completing successfully.

dsamarin commented 6 years ago

I just noticed a pull request that fixes this: #17