From dee0ba94e39ea49c1e9261a5e8932356e3bb7c57 Mon Sep 17 00:00:00 2001 From: Rob Woolley Date: Fri, 27 Feb 2015 09:32:23 -0500 Subject: [PATCH] knotty: Do not log show_versions output Every time the bitbake show versions command (bitbake -s) is run it creates a 100k log file. The consolelogfile is disabled for show environment and disabling show versions would make the behaviour match. Signed-off-by: Rob Woolley Signed-off-by: Richard Purdie --- lib/bb/ui/knotty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index 09a4e0cdccd..df0b85416fc 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -271,7 +271,7 @@ def main(server, eventHandler, params, tf = TerminalFilter): server.terminateServer() return - if consolelogfile and not params.options.show_environment: + if consolelogfile and not params.options.show_environment and not params.options.show_versions: bb.utils.mkdirhier(os.path.dirname(consolelogfile)) conlogformat = bb.msg.BBLogFormatter(format_str) consolelog = logging.FileHandler(consolelogfile) -- 2.47.2