commit 70786c65773ca4e4bc8875842e733a0bcabd4ed4
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.
Conflicts: neutron/agent/linux/dhcp.py
(cherry-picked from d93e0098ebd5f333d6f496f10a663cd4351410ae)
Change-Id: I3ad7864eeb2f959549ed356a1e34fa18804395cc
Closes-Bug: #1414218
Reviewed: https:/ /review. openstack. org/164329 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=70786c65773 ca4e4bc8875842e 733a0bcabd4ed4
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 70786c65773ca4e 4bc8875842e733a 0bcabd4ed4
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.
Conflicts:
neutron/ agent/linux/ dhcp.py
(cherry-picked from d93e0098ebd5f33 3d6f496f10a663c d4351410ae) 9549ed356a1e34f a18804395cc
Change-Id: I3ad7864eeb2f95
Closes-Bug: #1414218