Add the l3 agent 'host' when logging routers

Change-Id: I2740de031fcfe2bc7ff98a833576975968e6ccef
This commit is contained in:
Assaf Muller 2016-08-26 18:13:45 -04:00
parent d135b3fd25
commit 16f5d50b52
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ class L3RpcCallback(object):
if utils.is_extension_supported(
self.plugin, constants.PORT_BINDING_EXT_ALIAS):
self._ensure_host_set_on_ports(context, host, routers)
LOG.debug("Routers returned to l3 agent:\n %s",
LOG.debug("Routers returned to l3 agent on host %s:\n%s",
host,
utils.DelayedStringRenderer(jsonutils.dumps,
routers, indent=5))
return routers