Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x/ref/runtime/protocols/lib/websocket: reduce log noise due to monito…
…ring connections (#134) Monitoring systems, such as prometheus, rely on establishing connections to services to determine their availability. This PR reduces the log noise that such connections generate by doing two things: - log a failed connection attempt whereby the client sends no data at all, at log severity 2 rather than 1. - delay logging the attempted the establishment of a connection (still log level 1) until after an initial byte has been read. The net effect is to result in log messages for an https connection that sends no data.
- Loading branch information