From a0f7d79a560d177a0490dad4bb585a1c393421fa Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Thu, 28 Feb 2019 09:58:39 -0600 Subject: [PATCH] Make event debug log more useful self.events isn't useful info since the given RowEvent will always have the same self.events. More useful is the *actual* event that was matched, so if we are listening for create/update we can see that we matched on update, etc. Change-Id: I28e7421238660bc0b986b42d0a88e5c6b6d9a75a --- ovsdbapp/backend/ovs_idl/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovsdbapp/backend/ovs_idl/event.py b/ovsdbapp/backend/ovs_idl/event.py index 6fc3ed12..485f15bd 100644 --- a/ovsdbapp/backend/ovs_idl/event.py +++ b/ovsdbapp/backend/ovs_idl/event.py @@ -41,7 +41,7 @@ class RowEvent(ovsdb_event.RowEvent): # pylint: disable=abstract-method if not self.match_fn(event, row, old): return False LOG.debug("%s : Matched %s, %s, %s %s", self.event_name, self.table, - self.events, self.conditions, self.old_conditions) + event, self.conditions, self.old_conditions) return True