summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/lib/bb/main.py4
-rw-r--r--bitbake/lib/bb/tinfoil.py3
2 files changed, 3 insertions, 4 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index 431f6f4794..c51c6f2e43 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/lib/bb/main.py
@@ -394,10 +394,10 @@ def bitbake_main(configParams, configuration):
394 394
395 return 1 395 return 1
396 396
397def setup_bitbake(configParams, configuration, extrafeatures=None, setup_logging=True): 397def setup_bitbake(configParams, configuration, extrafeatures=None):
398 # Ensure logging messages get sent to the UI as events 398 # Ensure logging messages get sent to the UI as events
399 handler = bb.event.LogHandler() 399 handler = bb.event.LogHandler()
400 if setup_logging and not configParams.status_only: 400 if not configParams.status_only:
401 # In status only mode there are no logs and no UI 401 # In status only mode there are no logs and no UI
402 logger.addHandler(handler) 402 logger.addHandler(handler)
403 403
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index e246b3d2a2..cd0587e277 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -383,8 +383,7 @@ class Tinfoil:
383 383
384 self.server_connection, ui_module = setup_bitbake(config_params, 384 self.server_connection, ui_module = setup_bitbake(config_params,
385 cookerconfig, 385 cookerconfig,
386 extrafeatures, 386 extrafeatures)
387 setup_logging=False)
388 387
389 self.ui_module = ui_module 388 self.ui_module = ui_module
390 389