From fb8014294530ac83f209a79612c09c897d80227f Mon Sep 17 00:00:00 2001 From: Ryan Moats Date: Fri, 11 Sep 2015 07:41:38 -0500 Subject: [PATCH] Remove useless log from periodic_sync_routers_task Logging that peridoic_sync_routers_task is starting with fullsync False just adds noise to devstack logs. Reposition the log statement to indicate that the task is starting if it is going to be doing real processing. Change-Id: I73def1e20218b01c135769d0b8fbce449dad17ea Signed-off-by: Ryan Moats --- neutron/agent/l3/agent.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neutron/agent/l3/agent.py b/neutron/agent/l3/agent.py index 99921846c..1927ab7c6 100644 --- a/neutron/agent/l3/agent.py +++ b/neutron/agent/l3/agent.py @@ -517,10 +517,9 @@ class L3NATAgent(firewall_l3_agent.FWaaSL3AgentRpcCallback, @periodic_task.periodic_task(spacing=1) def periodic_sync_routers_task(self, context): self.process_services_sync(context) - LOG.debug("Starting periodic_sync_routers_task - fullsync:%s", - self.fullsync) if not self.fullsync: return + LOG.debug("Starting fullsync periodic_sync_routers_task") # self.fullsync is True at this point. If an exception -- caught or # uncaught -- prevents setting it to False below then the next call -- 2.45.2