zhangyanxian 0348b7e001 Interpolate strings using logging own methods
String interpolation should be delayed to be handled by the logging code, 
rather than being done at the point of the logging call. 
Ref:http://docs.openstack.org/developer/oslo.i18n/guidelines.html#log-translation
For example:
# WRONG
LOG.info(_LI('some message: variable=%s') % variable)
# RIGHT
LOG.info(_LI('some message: variable=%s'), variable)

Change-Id: I44b85cbf9f4b27d1fee2c1465029fca8cde4f87e
2016-11-08 01:49:57 +00:00
..
2013-10-02 14:56:49 -07:00
2015-12-22 18:07:04 +05:30