diff --git a/internal/websocket/staleClients.go b/internal/websocket/staleClients.go index a3afe14..0752208 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()