summaryrefslogtreecommitdiff
path: root/openstackclient/tests/common/test_command.py
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-06-07 14:29:41 +0800
committerDean Troyer <dtroyer@gmail.com>2016-06-14 16:37:57 -0500
commit0e9862be7af9a88c9c0e6a9ef4e11e48a1192727 (patch)
treea1f0e2683955167a734cf0203987fb03cd964f60 /openstackclient/tests/common/test_command.py
parent769baf329e6aa619e7d9a5e48a5230bcf4399228 (diff)
downloadpython-openstackclient-0e9862be7af9a88c9c0e6a9ef4e11e48a1192727.tar.gz
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
Diffstat (limited to 'openstackclient/tests/common/test_command.py')
0 files changed, 0 insertions, 0 deletions