]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Copy StandardLogging fixture from Nova
authorMatt Riedemann <mriedem@us.ibm.com>
Mon, 29 Feb 2016 17:31:22 +0000 (12:31 -0500)
committerMatt Riedemann <mriedem@us.ibm.com>
Mon, 29 Feb 2016 22:46:31 +0000 (17:46 -0500)
commit32719d4041fd547a41673539c62e5b76704c8cf8
tree5f5de795716d74b1db2a3bcfb0fd5a8d3db05f33
parent350f19d031d7e2e30147493c4e1a647fe5b59e08
Copy StandardLogging fixture from Nova

This code was originally written for Nova by Joe Gordon
<joe.gordon0@gmail.com> and Sean Dague <sean@dague.net>.

This enables debug logging that is exercised by unit test
runs to be handled and detect formatting errors. The debug
logging does not actually go to the console unless the
OS_DEBUG environment variable is set.

As a result, a few formatting errors are detected and
cleaned up with this change.

This also fixes a problem where debug logging from stevedore
is dumped to the console every time an extension is loaded,
which in a gate-cinder-python27 job is 65K+ times.

Change-Id: I989f9d591d1483a56a1bab3c20de583e85997562
Closes-Bug: #1551325
cinder/backup/chunkeddriver.py
cinder/test.py
cinder/tests/fixtures.py [new file with mode: 0644]
cinder/tests/unit/test_vmware_vmdk.py
cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py