From 00f3ab1f132de6b701c7832626457ad51dd265b6 Mon Sep 17 00:00:00 2001 From: Ryan Moats Date: Wed, 29 Jun 2016 09:24:14 -0500 Subject: [PATCH] Lower ML2 message severity. Logging that a network has no segments as an error message when it doesn't impact execution pollutes logs. Lower the message severity to debug. Change-Id: I7d88581b4703e7c287cec9406dd093089db8595c Closes-Bug: #1597362 Signed-off-by: Ryan Moats --- neutron/plugins/ml2/managers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/plugins/ml2/managers.py b/neutron/plugins/ml2/managers.py index c6fe71d1e84..86dbbaad0cf 100644 --- a/neutron/plugins/ml2/managers.py +++ b/neutron/plugins/ml2/managers.py @@ -162,7 +162,7 @@ class TypeManager(stevedore.named.NamedExtensionManager): def _extend_network_dict_provider(self, network, segments): if not segments: - LOG.error(_LE("Network %s has no segments"), network['id']) + LOG.debug("Network %s has no segments", network['id']) for attr in provider.ATTRIBUTES: network[attr] = None elif len(segments) > 1: