From cfbd125fef570c7a1b5ef812dca17f7930e9419c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 27 Nov 2018 11:32:26 +0000 Subject: 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: 2626ff964c0a5726037e539cfd07027aded0b7a9) Signed-off-by: Richard Purdie --- bitbake/lib/bb/server/process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 6208c185ec..d12b06ff08 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py @@ -426,8 +426,8 @@ class BitBakeServer(object): started = True lines.append(line) 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))) else: -- cgit v1.2.3-54-g00ecf