diff --git a/internal/websocket/staleClients.go b/internal/websocket/staleClients.go index f4fce6b..31e56b5 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(time.RFC3339)) } } mu.Unlock()