diff options
| -rwxr-xr-x | bitbake/lib/bb/main.py | 4 | ||||
| -rw-r--r-- | bitbake/lib/bb/tinfoil.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index 8c948c2c15..29e391162e 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py | |||
| @@ -477,10 +477,10 @@ def bitbake_main(configParams, configuration): | |||
| 477 | 477 | ||
| 478 | return 1 | 478 | return 1 |
| 479 | 479 | ||
| 480 | def setup_bitbake(configParams, configuration, extrafeatures=None): | 480 | def setup_bitbake(configParams, configuration, extrafeatures=None, setup_logging=True): |
| 481 | # Ensure logging messages get sent to the UI as events | 481 | # Ensure logging messages get sent to the UI as events |
| 482 | handler = bb.event.LogHandler() | 482 | handler = bb.event.LogHandler() |
| 483 | if not configParams.status_only: | 483 | if setup_logging and not configParams.status_only: |
| 484 | # In status only mode there are no logs and no UI | 484 | # In status only mode there are no logs and no UI |
| 485 | logger.addHandler(handler) | 485 | logger.addHandler(handler) |
| 486 | 486 | ||
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py index 563c0c4d82..fb0da62243 100644 --- a/bitbake/lib/bb/tinfoil.py +++ b/bitbake/lib/bb/tinfoil.py | |||
| @@ -245,7 +245,8 @@ class Tinfoil: | |||
| 245 | 245 | ||
| 246 | server, self.server_connection, ui_module = setup_bitbake(config_params, | 246 | server, self.server_connection, ui_module = setup_bitbake(config_params, |
| 247 | cookerconfig, | 247 | cookerconfig, |
| 248 | extrafeatures) | 248 | extrafeatures, |
| 249 | setup_logging=False) | ||
| 249 | 250 | ||
| 250 | self.ui_module = ui_module | 251 | self.ui_module = ui_module |
| 251 | 252 | ||
