diff options
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 31c2dbbcfc..05c31342e0 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -256,11 +256,15 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
256 | helper = uihelper.BBUIHelper() | 256 | helper = uihelper.BBUIHelper() |
257 | 257 | ||
258 | console = logging.StreamHandler(sys.stdout) | 258 | console = logging.StreamHandler(sys.stdout) |
259 | errconsole = logging.StreamHandler(sys.stderr) | ||
259 | format_str = "%(levelname)s: %(message)s" | 260 | format_str = "%(levelname)s: %(message)s" |
260 | format = bb.msg.BBLogFormatter(format_str) | 261 | format = bb.msg.BBLogFormatter(format_str) |
261 | bb.msg.addDefaultlogFilter(console) | 262 | bb.msg.addDefaultlogFilter(console, bb.msg.BBLogFilterStdOut) |
263 | bb.msg.addDefaultlogFilter(errconsole, bb.msg.BBLogFilterStdErr) | ||
262 | console.setFormatter(format) | 264 | console.setFormatter(format) |
265 | errconsole.setFormatter(format) | ||
263 | logger.addHandler(console) | 266 | logger.addHandler(console) |
267 | logger.addHandler(errconsole) | ||
264 | 268 | ||
265 | if params.options.remote_server and params.options.kill_server: | 269 | if params.options.remote_server and params.options.kill_server: |
266 | server.terminateServer() | 270 | server.terminateServer() |