aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-25 15:10:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-25 15:10:26 +0100
commit20f4bbc93f4bb848dddee967737fa3c0e28ba4c8 (patch)
tree96289d096ac0d8e4326510ec2b2031834859c992
parent0bb3b30fbeb1d3ef19a3cfb48ec017541472c777 (diff)
downloadyocto-autobuilder2-20f4bbc93f4bb848dddee967737fa3c0e28ba4c8.tar.gz
yocto-autobuilder2-20f4bbc93f4bb848dddee967737fa3c0e28ba4c8.tar.bz2
yocto-autobuilder2-20f4bbc93f4bb848dddee967737fa3c0e28ba4c8.zip
steps/observer: Mention which log contains an error/warning
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--steps/observer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/steps/observer.py b/steps/observer.py
index 6791867..bdb4aa0 100644
--- a/steps/observer.py
+++ b/steps/observer.py
@@ -33,10 +33,10 @@ class RunConfigLogObserver(ShellCommand):
stream, line = yield
if line.startswith("WARNING:"):
self.warnings += 1
- self.warningLines.append(line)
+ self.warningLines.append(stream + ": " + line)
if line.startswith("ERROR:"):
self.errors += 1
- self.errorLines.append(line)
+ self.errorLines.append(stream + ": " + line)
def commandComplete(self, cmd):
self.addCompleteLog('warnings', '\n'.join(self.warningLines))