diff --git a/nova/test.py b/nova/test.py index ab027fb51..749adbd78 100644 --- a/nova/test.py +++ b/nova/test.py @@ -200,7 +200,8 @@ class TestCase(testtools.TestCase): self.useFixture(nova_fixtures.OutputStreamCapture()) - self.useFixture(nova_fixtures.StandardLogging()) + self.stdlog = nova_fixtures.StandardLogging() + self.useFixture(self.stdlog) # NOTE(sdague): because of the way we were using the lock # wrapper we ended up with a lot of tests that started