summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-27 11:32:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-27 22:15:34 +0000
commit754976a1164493947cb85940a7dd8e3b57646954 (patch)
treec3d224b853b2b560b47b18e0dac50602d81b4202 /bitbake/lib/bb/server
parent1b04525d3f7b80d82ef1b98fa788296c04e48a7b (diff)
downloadpoky-754976a1164493947cb85940a7dd8e3b57646954.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: b8538c2088c199157404712a60a6740c926ce312) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/server')
-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 38a62fa34e..efb4332394 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -428,8 +428,8 @@ class BitBakeServer(object):
428 if len(lastlines) > 60: 428 if len(lastlines) > 60:
429 lastlines = lastlines[-60:] 429 lastlines = lastlines[-60:]
430 if lines: 430 if lines:
431 if len(lines) > 10: 431 if len(lines) > 60:
432 bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:]))) 432 bb.error("Last 60 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-60:])))
433 else: 433 else:
434 bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines))) 434 bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines)))
435 elif lastlines: 435 elif lastlines: