]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix exceptions logging in TgtAdm
authorIvan Kolodyazhny <e0ne@e0ne.info>
Fri, 20 Feb 2015 23:14:54 +0000 (01:14 +0200)
committerIvan Kolodyazhny <e0ne@e0ne.info>
Fri, 20 Feb 2015 23:29:27 +0000 (01:29 +0200)
commit5b68f9b6389d351f3aa09737a5067794fc876811
tree865465b17ecfee6df2a308f23d07457265f8f7ae
parentf4f46e972004eca66e4751a836156c342e448621
Fix exceptions logging in TgtAdm

Use six.text_type(e) to not get UnicodeError on log message formatting.
Fixed logging according to the Logging guidelines.

Change-Id: Ic5dde17d2668d4b9ff2bea5cc0599f4c8b51362d
Closes-Bug: #1402078
cinder/volume/targets/tgt.py