chenaidong1 155f747a66 Modify variable's usage in Log Messages
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: If8d36220a9370b304ae51a329f8bba370285fdc2
2016-12-06 09:13:14 +00:00
..
2014-05-27 15:14:44 +04:00
2016-08-10 13:54:36 +00:00
2015-07-15 11:20:45 +03:00
2016-08-10 13:54:36 +00:00