
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