summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-27 11:32:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-08 20:18:55 +0000
commitcfbd125fef570c7a1b5ef812dca17f7930e9419c (patch)
treef42a7be0182c121970aae1f1529ca54a914c7963 /bitbake
parent103f13ac6eb2d516428da1df821ed8964a87997b (diff)
downloadpoky-cfbd125fef570c7a1b5ef812dca17f7930e9419c.tar.gz
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/server/process.py4
1 files changed, 2 insertions, 2 deletions
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):
426 started = True 426 started = True
427 lines.append(line) 427 lines.append(line)
428 if lines: 428 if lines:
429 if len(lines) > 10: 429 if len(lines) > 60:
430 bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:]))) 430 bb.error("Last 60 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-60:])))
431 else: 431 else:
432 bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines))) 432 bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines)))
433 else: 433 else: