summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-10-05 10:43:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-11 05:33:01 +0100
commitfa68ae04553235ab381153aa273c4adee2c30309 (patch)
tree6c1b95e1cceb2fc6d770c3c23ca55cb7c13507fc /bitbake/lib/bb/ui/toasterui.py
parentbd8b27b6a92142b43ead5d87450a7eaf6b4ba2e8 (diff)
downloadpoky-fa68ae04553235ab381153aa273c4adee2c30309.tar.gz
bitbake: toaster: use meaningful logging levels
Changed logging levels to more appropriate ones. (Bitbake rev: 27d0360d13af0c698bf3a224b3f0d415f17bb678) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 3891e639bd..dbe0d0980a 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -130,14 +130,14 @@ def main(server, eventHandler, params ):
130 130
131 if isinstance(event, (bb.build.TaskStarted, bb.build.TaskSucceeded, bb.build.TaskFailedSilent)): 131 if isinstance(event, (bb.build.TaskStarted, bb.build.TaskSucceeded, bb.build.TaskFailedSilent)):
132 buildinfohelper.update_and_store_task(event) 132 buildinfohelper.update_and_store_task(event)
133 logger.warn("Logfile for task %s", event.logfile) 133 logger.info("Logfile for task %s", event.logfile)
134 continue 134 continue
135 135
136 if isinstance(event, bb.build.TaskBase): 136 if isinstance(event, bb.build.TaskBase):
137 logger.info(event._message) 137 logger.info(event._message)
138 138
139 if isinstance(event, bb.event.LogExecTTY): 139 if isinstance(event, bb.event.LogExecTTY):
140 logger.warn(event.msg) 140 logger.info(event.msg)
141 continue 141 continue
142 142
143 if isinstance(event, logging.LogRecord): 143 if isinstance(event, logging.LogRecord):
@@ -316,7 +316,7 @@ def main(server, eventHandler, params ):
316 buildinfohelper.store_dependency_information(event) 316 buildinfohelper.store_dependency_information(event)
317 continue 317 continue
318 318
319 logger.error("Unknown event: %s", event) 319 logger.warn("Unknown event: %s", event)
320 return_value += 1 320 return_value += 1
321 321
322 except EnvironmentError as ioerror: 322 except EnvironmentError as ioerror:
@@ -336,7 +336,7 @@ def main(server, eventHandler, params ):
336 if tb is not None: 336 if tb is not None:
337 curr = tb 337 curr = tb
338 while curr is not None: 338 while curr is not None:
339 logger.warn("Error data dump %s\n%s\n" , traceback.format_tb(curr,1), pformat(curr.tb_frame.f_locals)) 339 logger.error("Error data dump %s\n%s\n" , traceback.format_tb(curr,1), pformat(curr.tb_frame.f_locals))
340 curr = curr.tb_next 340 curr = curr.tb_next
341 341
342 # save them to database, if possible; if it fails, we already logged to console. 342 # save them to database, if possible; if it fails, we already logged to console.