diff options
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
| -rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 7a2681d2bf..7c645adcc4 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
| @@ -74,6 +74,7 @@ def main(server, eventHandler): | |||
| 74 | 74 | ||
| 75 | console = logging.StreamHandler(sys.stdout) | 75 | console = logging.StreamHandler(sys.stdout) |
| 76 | format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s") | 76 | format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s") |
| 77 | bb.msg.addDefaultlogFilter(console) | ||
| 77 | console.setFormatter(format) | 78 | console.setFormatter(format) |
| 78 | logger.addHandler(console) | 79 | logger.addHandler(console) |
| 79 | 80 | ||
| @@ -120,8 +121,8 @@ def main(server, eventHandler): | |||
| 120 | # For "normal" logging conditions, don't show note logs from tasks | 121 | # For "normal" logging conditions, don't show note logs from tasks |
| 121 | # but do show them if the user has changed the default log level to | 122 | # but do show them if the user has changed the default log level to |
| 122 | # include verbose/debug messages | 123 | # include verbose/debug messages |
| 123 | if logger.getEffectiveLevel() > format.VERBOSE: | 124 | #if logger.getEffectiveLevel() > format.VERBOSE: |
| 124 | if event.taskpid != 0 and event.levelno <= format.NOTE: | 125 | if event.taskpid != 0 and event.levelno <= format.NOTE: |
| 125 | continue | 126 | continue |
| 126 | logger.handle(event) | 127 | logger.handle(event) |
| 127 | continue | 128 | continue |
