Should use lazy logging interpolation
Bug #1404788 reported by
Angus Lees
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Undecided
|
Unassigned |
Bug Description
There are a small number of examples of "eager" interpolation in
neutron:
logging.
These should be converted to perform the interpolation lazily within
the logging function, since if the severity is below the logging level
then the interpolation can be skipped entirely.
This bug is a grab bag of all such current examples found in neutron
via a pylint test.
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/143354
Review: https:/