diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-09-25 12:02:56 +0300 |
---|---|---|
committer | Jun Wang <junbill.wang@samsung.com> | 2016-01-28 01:33:55 +0800 |
commit | 27e2f111b74ef7b4ca19ee1248087453e78e1b37 (patch) | |
tree | 071a3e82649c5b825da4d0a194d474a68ca7906f | |
parent | e726b74fee57fcc78282f1ad700fa16095798fa8 (diff) | |
download | git-buildpackage-27e2f111b74ef7b4ca19ee1248087453e78e1b37.tar.gz git-buildpackage-27e2f111b74ef7b4ca19ee1248087453e78e1b37.tar.bz2 git-buildpackage-27e2f111b74ef7b4ca19ee1248087453e78e1b37.zip |
log: don't propagate to ancestor loggers
Change-Id: I6548dcfe5ba2f779b9d9244ad1eb88fa92c2180e
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r-- | gbp/log.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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""" |