Comment 2 for bug 1414218

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/149784
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=d93e0098ebd5f333d6f496f10a663cd4351410ae
Submitter: Jenkins
Branch: master

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.

    Change-Id: I3ad7864eeb2f959549ed356a1e34fa18804395cc
    Closes-Bug: #1414218