]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove L3 report_state logging
authorAssaf Muller <amuller@redhat.com>
Thu, 9 Apr 2015 17:06:07 +0000 (13:06 -0400)
committerAssaf Muller <amuller@redhat.com>
Thu, 9 Apr 2015 17:13:59 +0000 (13:13 -0400)
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

index cfdf404acc90aa9a1974f1905239223660ff297d..058b9a9d7ee9d677951c462181bdbd146e6827f7 100644 (file)
@@ -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."