summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/tinfoil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index 2200caa54c..dcd3910cc4 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -325,11 +325,11 @@ class Tinfoil:
325 self.recipes_parsed = False 325 self.recipes_parsed = False
326 self.quiet = 0 326 self.quiet = 0
327 self.oldhandlers = self.logger.handlers[:] 327 self.oldhandlers = self.logger.handlers[:]
328 self.localhandlers = []
328 if setup_logging: 329 if setup_logging:
329 # This is the *client-side* logger, nothing to do with 330 # This is the *client-side* logger, nothing to do with
330 # logging messages from the server 331 # logging messages from the server
331 bb.msg.logger_create('BitBake', output) 332 bb.msg.logger_create('BitBake', output)
332 self.localhandlers = []
333 for handler in self.logger.handlers: 333 for handler in self.logger.handlers:
334 if handler not in self.oldhandlers: 334 if handler not in self.oldhandlers:
335 self.localhandlers.append(handler) 335 self.localhandlers.append(handler)