diff --git a/internal/websocket/staleClients.go b/internal/websocket/staleClients.go index 7e70553..f27672d 100644 --- a/internal/websocket/staleClients.go +++ b/internal/websocket/staleClients.go @@ -19,7 +19,7 @@ func RemoveStaleClients() { if sendPing(client) && !isStale(client) { client.Conn.Close() delete(Clients, client.Conn.LocalAddr()) - helper.Logger.Info("Removed stale client", "host", client.RealIP) + helper.Logger.Info("Removed stale client", "host", client.RealIP, "lastPong", client.LastPong) } } mu.Unlock()