projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e726b74
)
log: don't propagate to ancestor loggers
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Thu, 25 Sep 2014 09:02:56 +0000
(12:02 +0300)
committer
Jun Wang
<junbill.wang@samsung.com>
Wed, 27 Jan 2016 17:33:55 +0000
(
01:33
+0800)
Change-Id: I6548dcfe5ba2f779b9d9244ad1eb88fa92c2180e
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/log.py
patch
|
blob
|
history
diff --git
a/gbp/log.py
b/gbp/log.py
index
17cd680
..
a8e420a
100644
(file)
--- a/
gbp/log.py
+++ b/
gbp/log.py
@@
-105,6
+105,8
@@
class GbpLogger(logging.Logger):
CRITICAL]))
for hdlr in self._default_handlers:
self.addHandler(hdlr)
+ # We don't want to propagate as we add our own handlers
+ self.propagate = False
def set_color(self, color):
"""Set/unset colorized output of the default handlers"""