From f4c17f529f1d83c44118927fc019257840b5f356 Mon Sep 17 00:00:00 2001 From: Assaf Muller Date: Thu, 9 Apr 2015 13:06:07 -0400 Subject: [PATCH] Remove L3 report_state logging None of the agents log this information, and the reason is that it's not useful. Any errors are logged, successful state reports don't give actionable information as you can see that the agent is up in neutron agent-list anyway. Change-Id: I109373129808984d34abdf6780b8cda8ca8982be --- neutron/agent/l3/agent.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/neutron/agent/l3/agent.py b/neutron/agent/l3/agent.py index cfdf404ac..058b9a9d7 100644 --- a/neutron/agent/l3/agent.py +++ b/neutron/agent/l3/agent.py @@ -571,7 +571,6 @@ class L3NATAgentWithStateReport(L3NATAgent): self.heartbeat.start(interval=report_interval) def _report_state(self): - LOG.debug("Report state task started") num_ex_gw_ports = 0 num_interfaces = 0 num_floating_ips = 0 @@ -595,7 +594,6 @@ class L3NATAgentWithStateReport(L3NATAgent): self.use_call) self.agent_state.pop('start_flag', None) self.use_call = False - LOG.debug("Report state task successfully completed") except AttributeError: # This means the server does not support report_state LOG.warn(_LW("Neutron server does not support state report." -- 2.45.2