Fix duplicate log shows when run mic with 'yum'
authorHuanhuan Li <huanhuanx.li@intel.com>
Wed, 25 Sep 2013 05:38:41 +0000 (13:38 +0800)
committerGui Chen <gui.chen@intel.com>
Fri, 28 Feb 2014 03:31:48 +0000 (05:31 +0200)
Fixes: #1585

Change-Id: Ie5b39b055198b3f023819993b56a4dfc6c92e8dc

mic/msger.py

index d52cbb1..49bdc2f 100644 (file)
@@ -265,6 +265,7 @@ class MicLogger(logging.Logger):
     """
     def __init__(self, name, level=logging.INFO):
         logging.Logger.__init__(self, name, level)
+        self.propagate = False
         self.interactive = True
         self.logfile = None
         self._allhandlers = {