commit d93e0098ebd5f333d6f496f10a663cd4351410ae
Author: Billy Olsen <email address hidden>
Date: Fri Jan 23 15:50:40 2015 -0700
Refactor logging in loop to only log debug messages once
Logging entries in a loop to a file can be expensive for a large
number of objects (e.g. ports) in a loop. Rather than perform the
overhead of logging a debug entry for each line within the hosts
file, move the debug trace of the contents to after the loop to
bulk up the I/O operations.
Reviewed: https:/ /review. openstack. org/149784 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=d93e0098ebd 5f333d6f496f10a 663cd4351410ae
Committed: https:/
Submitter: Jenkins
Branch: master
commit d93e0098ebd5f33 3d6f496f10a663c d4351410ae
Author: Billy Olsen <email address hidden>
Date: Fri Jan 23 15:50:40 2015 -0700
Refactor logging in loop to only log debug messages once
Logging entries in a loop to a file can be expensive for a large
number of objects (e.g. ports) in a loop. Rather than perform the
overhead of logging a debug entry for each line within the hosts
file, move the debug trace of the contents to after the loop to
bulk up the I/O operations.
Change-Id: I3ad7864eeb2f95 9549ed356a1e34f a18804395cc
Closes-Bug: #1414218