aboutsummaryrefslogtreecommitdiffstats
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:19:59 +0000
commit340a7d91b5030e4d62680f427286fc419509879b (patch)
tree61c19aaf59f4ad97a923ae3fa4fd48386651ac20
parentcc32e703a8e68107353702edb230296503f5dad0 (diff)
downloadbitbake-contrib-340a7d91b5030e4d62680f427286fc419509879b.tar.gz
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/server/process.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 8da4e718a..1f71c5cd2 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -420,8 +420,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: