← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1159978] Re: Nova unit tests spamming log output

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1159978

Title:
  Nova unit tests spamming log output

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The following commit caused a problem with  nova unit tests.  When you
  try to run the tests, the log output was being spammed to the console,
  instead of being caught by the FakeLogger.

  
  commit f665d798234c19cccc148a178e94c3717ba8bd6e
  Author: Russell Bryant <rbryant@xxxxxxxxxx>
  Date:   Fri Mar 22 14:10:07 2013 -0400

      Sync everything from oslo-incubator.
      
      Change-Id: If602b424086abb3edbd4703bc0e3befedbf37925

  
  The specific change from oslo-incubator that cuased this is:

  
  commit 9fe688a412d910e29fdf97fd0f97a7f815db6c8f
  Author: Zhiteng Huang <zhiteng.huang@xxxxxxxxx>
  Date:   Wed Mar 13 00:27:48 2013 +0800

      Initialize root logger in _setup_logging_from_conf()
      
      log.setup() doesn't really initialize root logger, therefore logging
      in 3rd party library such as stevedore doesn't work properly. This
      patch enable root logger initialization.
      
      Fix bug: # 1073241
      
      Change-Id: I6fa41b2ba41ff97ad0280f8774a26887d294423e

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1159978/+subscriptions