diff options
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-x | bitbake/lib/bb/main.py | 4 |
1 files changed, 2 insertions, 2 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 | ||