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
(cherry picked from commit eb09ebc88c)
This commit is contained in:
Ryan Moats 2015-11-11 12:51:21 -06:00 committed by Ihar Hrachyshka
parent 80aa77be98
commit c2e55a165f
1 changed files with 2 additions and 3 deletions

View File

@ -164,9 +164,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)