[Openstack] [OpenStack] How to get the logging output in unit tests with tox?

Markus Zoeller mzoeller at de.ibm.com
Fri Jan 30 14:45:21 UTC 2015


On Mon Aug 4 17:58:44 UTC 2014 Clark Boylan wrote:
> The answer to the question depends on what project is being tested. 
> Looking at the bug it appears to be Nova. Nova uses subunit to record 
> its test logs. You will find the subunit logs in 
> .testrepository/$TESTIDNUMBER. These files should contain the logs you 
> are looking for.

For historical reasons: One has to export OS_DEBUG=1 as an environment
variable to get the "LOG.debug()" messages in the testrepository logs.


Regards,
Markus Zoeller
IRC: markus_z
Launchpad: mzoeller





More information about the Openstack mailing list