python-openstackclient/openstackclient
Tang Chen 0e9862be7a Standardize logger usage in volume
self.app.log is the logger in class OpenStackShell,
which should be used to record logs that have nothing
to do with any specific command.

So, use the file logger instead.

This patch also fixes some usage that doesn't follow
rules in:
http://docs.openstack.org/developer/oslo.i18n/guidelines.html
1. add variables to logger as an argument
2. do not wrap variables with str()

Change-Id: I248861a38a4de0412a080046aa7a6f6473c3e082
Implements: blueprint log-usage
2016-06-14 16:37:57 -05:00
..
api osc-lib: utils 2016-06-13 10:50:44 -05:00
common osc-lib: timing 2016-06-13 11:08:21 -05:00
compute osc-lib: command 2016-06-13 11:00:22 -05:00
identity Merge "osc-lib: command" 2016-06-14 06:45:17 +00:00
image Merge "Fix image delete multiple arguments error" 2016-06-14 07:26:58 +00:00
locale Imported Translations from Zanata 2016-06-04 06:18:46 +00:00
network Ensure endpoint type is used for network commands 2016-06-14 11:20:16 +00:00
object osc-lib: command 2016-06-13 11:00:22 -05:00
releasenotes/notes Do not require an scope when setting a password 2016-05-27 09:12:24 +02:00
tests Standardize logger usage in volume 2016-06-14 16:37:57 -05:00
volume Standardize logger usage in volume 2016-06-14 16:37:57 -05:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Update translation setup 2016-01-29 08:18:50 +09:00
shell.py osc-lib: timing 2016-06-13 11:08:21 -05:00