From e54adc6f33d03de751a2b44b36665552032bd221 Mon Sep 17 00:00:00 2001 From: Benjamin Wenger <ben@elixxir.ioo> Date: Fri, 1 Oct 2021 13:49:03 -0700 Subject: [PATCH] added a debug log on disconnect --- connect/host.go | 1 + 1 file changed, 1 insertion(+) diff --git a/connect/host.go b/connect/host.go index 31ef49a..162ab99 100644 --- a/connect/host.go +++ b/connect/host.go @@ -331,6 +331,7 @@ func (h *Host) disconnect() { // connection. In that case, we should not close a connection which does not // exist if h.connection != nil { + jww.INFO.Printf("Disconnected from %s at %s", h.GetId(), h.GetAddress()) err := h.connection.Close() if err != nil { jww.ERROR.Printf("Unable to close connection to %s: %+v", -- GitLab