summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-xbitbake/lib/bb/main.py4
1 files changed, 2 insertions, 2 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