Lower l2pop "isn't bound to any segement" log to debug

Per the discussion in bug 1362242, the log statement doesn't
appear to be associated with anything bad happening. Therefore,
this patch lowers the log level from WARNING to DEBUG to avoid
polluting operator's logs.

Change-Id: I55b6d1d30ed2ed55659c9a6809531cfcbc57f17c
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Closes-Bug: 1362242
This commit is contained in:
Ryan Moats 2015-11-11 12:51:21 -06:00
parent 87ce4868ca
commit eb09ebc88c
1 changed files with 2 additions and 3 deletions

View File

@ -169,9 +169,8 @@ class L2populationMechanismDriver(api.MechanismDriver,
segment = context.bottom_bound_segment
if not segment:
LOG.warning(_LW("Port %(port)s updated by agent %(agent)s "
"isn't bound to any segment"),
{'port': port['id'], 'agent': agent})
LOG.debug("Port %(port)s updated by agent %(agent)s isn't bound "
"to any segment", {'port': port['id'], 'agent': agent})
return
network_types = self.get_agent_l2pop_network_types(agent)