From: Assaf Muller Date: Thu, 9 Apr 2015 17:06:07 +0000 (-0400) Subject: Remove L3 report_state logging X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=f4c17f529f1d83c44118927fc019257840b5f356;p=openstack-build%2Fneutron-build.git 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 --- 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."