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