cinder/cinder
Sean McGinnis 3578d9e341 Logging not using oslo.i18n guidelines
Part of multi-patch set for easier chunks.

There have been quite a few instances found where the
i18n guidelines are not being followed. I believe this
has helped lead to some of the confusion around how to
correctly do this. Other developers see this code and
assume it is an example of the correct usage.

This patch attempts to clean up most of those violations
in the existing codebase to hopefully help avoid some of
that confusion in reviews.

Some issues address:
* Correct log translation markers for different log levels
* Passing format values as arguments to call, not preformatting
* Not forcing translation via six.text_type and others

Guidelines can be found here:
http://docs.openstack.org/developer/oslo.i18n/guidelines.html

Hacking checks will not be able to identify all violations of
the guidelines, but it could be useful for catching obvious ones
such as LOG.info("No markers!").

Change-Id: I38f52c6408b47ccb59ec2064b360f7d4427d6830
Partial-bug: 1433216
2015-03-19 12:28:12 -05:00
..
api Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
backup Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
brick Merge "Fix LVM thin pool creation race" 2015-03-13 21:53:53 +00:00
cmd Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
common Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
compute Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
consistencygroup Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
db Change datetime.now() to timeutils.utcnow() from oslo_utils 2015-03-19 14:12:57 +02:00
hacking Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
image Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
keymgr Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
locale Imported Translations from Transifex 2015-01-30 06:25:51 +00:00
objects Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
openstack Merge "Move to the oslo.middleware library" 2015-03-15 21:05:16 +00:00
replication Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
scheduler Add waiting for the driver to SchedulerManager 2015-03-12 17:24:09 +01:00
testing updating testing readme with more current information. 2014-02-26 09:21:13 -05:00
tests Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
transfer Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
volume Merge "Change datetime.now() to timeutils.utcnow() from oslo_utils" 2015-03-19 16:19:31 +00:00
zonemanager Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
__init__.py Remove vim header 2013-12-30 18:53:02 -06:00
context.py Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
exception.py Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
flow_utils.py Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
i18n.py Remove import of private _lazy module 2015-01-06 16:28:22 -07:00
manager.py Merge "Allow scheduler to receive volume stats when starting service" 2015-03-12 06:08:33 +00:00
policy.py Move oslo.config to oslo_config namespace 2015-01-17 10:33:37 -06:00
quota_utils.py Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
quota.py Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
rpc.py Move oslo.messaging to the oslo_messaging namespace 2015-03-03 09:21:25 -06:00
service.py Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
ssh_utils.py Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
test.py Raise exception for invalid mock assert calls 2015-03-16 12:28:59 -04:00
utils.py Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
version.py Remove vim header 2013-12-30 18:53:02 -06:00
wsgi.py Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00