diff --git a/internal/websocket/staleClients.go b/internal/websocket/staleClients.go index f4fce6b..2a9de27 100644 --- a/internal/websocket/staleClients.go +++ b/internal/websocket/staleClients.go @@ -22,7 +22,7 @@ func RemoveStaleClients() { if isStale(client) { client.Conn.Close() delete(Clients, client.Conn.LocalAddr()) - helper.Logger.Info("Removed stale client", "host", client.RealIP, "lastPong", client.LastPong) + helper.Logger.Info("Removed stale client", "host", client.RealIP, "lastPong", client.LastPong.Format("RFC3339")) } } mu.Unlock()