From: Richard Purdie Date: Tue, 27 Nov 2018 11:32:26 +0000 (+0000) Subject: bitbake: server/process: Show the last 60 log lines, not the last 10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=754976a1164493947cb85940a7dd8e3b57646954;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: server/process: Show the last 60 log lines, not the last 10 10 log lines may not capture any full traceback, increase the number of lines to 60 which covers most tracebacks. (Bitbake rev: b8538c2088c199157404712a60a6740c926ce312) Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 38a62fa34e9..efb43323944 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py @@ -428,8 +428,8 @@ class BitBakeServer(object): if len(lastlines) > 60: lastlines = lastlines[-60:] if lines: - if len(lines) > 10: - bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:]))) + if len(lines) > 60: + bb.error("Last 60 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-60:]))) else: bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines))) elif lastlines: