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-02-25 22:27:46 +0000
commitba9f093318fffb3abef7eb2a6ca60566cf24ac69 (patch)
tree7d82a40d02be22c93024fa0c7f82ed676ad56e6d /bitbake
parent633d22650cd3db7c574a55d36a3e2cda1cff6d04 (diff)
downloadpoky-ba9f093318fffb3abef7eb2a6ca60566cf24ac69.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: 340a7d91b5030e4d62680f427286fc419509879b) 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 8da4e718a4..1f71c5cd2e 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -420,8 +420,8 @@ class BitBakeServer(object):
420 started = True 420 started = True
421 lines.append(line) 421 lines.append(line)
422 if lines: 422 if lines:
423 if len(lines) > 10: 423 if len(lines) > 60:
424 bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:]))) 424 bb.error("Last 60 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-60:])))
425 else: 425 else:
426 bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines))) 426 bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines)))
427 else: 427 else: