Quiet down a large log file heavy hitter.
This line of code serialized the python structure for the device and throws it at the log file. The string is about 90K characters, isn't very useful and we found that it takes a very large amount of space in the log file causing them to grow very quickly and fill our log disk. This change extracts the device name (e.g. "tapcdc07af9-8a") and uses that in the log message. Change-Id: I240eb811445752407583f0fb322ce061acb293b9 Fixes: Bug #1200321
This commit is contained in:
parent
3c7ad231b6
commit
79e4c3e758
@ -157,7 +157,7 @@ class SecurityGroupAgentRpcMixin(object):
|
|||||||
self.context, device_ids)
|
self.context, device_ids)
|
||||||
with self.firewall.defer_apply():
|
with self.firewall.defer_apply():
|
||||||
for device in devices.values():
|
for device in devices.values():
|
||||||
LOG.debug(_("Update port filter for %s"), device)
|
LOG.debug(_("Update port filter for %s"), device['device'])
|
||||||
self.firewall.update_port_filter(device)
|
self.firewall.update_port_filter(device)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user