mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-15 18:50:41 -07:00
This gives the close reason directly in the log without having to get that information from the monitoring endpoint. Here is an example of a route closed due to the remote side not replying to PINGs: ``` [INF] 127.0.0.1:53839 - rid:2 - Router connection closed: Stale Connection ``` Without this change, the log statement would have been: ``` [INF] 127.0.0.1:53839 - rid:2 - Router connection closed ``` Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
51 KiB
51 KiB