diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-27 11:32:26 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-08 20:16:51 +0000 |
commit | 2626ff964c0a5726037e539cfd07027aded0b7a9 (patch) | |
tree | ea29c139cd18b85c517dda29550449e96875c1f3 /lib/bb | |
parent | 9c3c965b9d90617e8aa2cf439019534a35a7bcb1 (diff) | |
download | bitbake-contrib-2626ff964c0a5726037e539cfd07027aded0b7a9.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>
Diffstat (limited to 'lib/bb')
-rw-r--r-- | lib/bb/server/process.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py index 6208c185e..d12b06ff0 100644 --- a/lib/bb/server/process.py +++ b/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: |