cinder/cinder
Sean McGinnis 976cfe77d1 Logging not using oslo.i18n guidelines (brick)
Multi-patch set for easier chunks. This one addresses
the backup and common cinder directories.

Updates have already been made to the os-brick project.

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: I993a0a567383dfe6fca13dfcc76758ea3a46e1dd
Partial-bug: 1433216
2015-04-09 10:32:03 -05:00
..
api Use six.text_type instead of unicode 2015-04-02 19:07:58 +03:00
backup Merge "Use six.text_type instead of unicode" 2015-04-06 08:51:49 +00:00
brick Logging not using oslo.i18n guidelines (brick) 2015-04-09 10:32:03 -05:00
cmd Make lio iSCSI changes persistent to avoid lost 2015-03-25 17:45:18 +01:00
common Logging not using oslo.i18n guidelines 2015-03-30 22:06:54 -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 Merge "Fix the unicode encode error when create volume" 2015-04-09 04:41:50 +00:00
hacking Logging not using oslo.i18n guidelines (brick) 2015-04-09 10:32:03 -05:00
image Fix broken fetch_to_volume_format log message 2015-03-31 09:43:42 -04:00
keymgr Merge "Add project_id to barbican keymgr wrapper" 2015-04-05 18:17:28 +00:00
locale Imported Translations from Transifex 2015-03-26 06:08:06 +00:00
objects Merge "Added provider_id to volume and snapshot object" 2015-04-06 11:10:50 +00:00
openstack Syncing versionutils from oslo-incubator 2015-03-25 12:03:51 +01:00
replication Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
scheduler Fix potential access to missing key 2015-03-30 10:10:45 -07:00
testing updating testing readme with more current information. 2014-02-26 09:21:13 -05:00
tests Merge "Create initiator id if not exist in VMAX driver" 2015-04-09 10:08:50 +00:00
transfer Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
volume Merge "Create initiator id if not exist in VMAX driver" 2015-04-09 10:08:50 +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 Enable request-id in cinder API logs 2015-03-24 15:20:29 +02:00
exception.py Use six.text_type instead of unicode 2015-04-02 19:07:58 +03:00
flow_utils.py Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
i18n.py Change leftover oslo.* to oslo_* 2015-03-23 19:52:42 +00: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.py Logging not using oslo.i18n guidelines 2015-03-19 12:28:12 -05:00
quota_utils.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 Add hacking check for print() statements 2015-04-07 14:38:37 -05:00