All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] toasterui: Remove the excessive exception logging
@ 2016-03-10 14:28 Michael Wood
  2016-03-10 14:28 ` [PATCH 2/2] toaster: buildinfohelper Add additional metadata to the built layer Michael Wood
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Michael Wood @ 2016-03-10 14:28 UTC (permalink / raw)
  To: toaster

Remove the very verbose log dump from toasterui. This generates several
megabytes of not that useful debug information and actually hinders
finding the original exception.

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
---
 bitbake/lib/bb/ui/toasterui.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index ee40110..29aed2e 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -447,13 +447,6 @@ def main(server, eventHandler, params):
             exception_data = traceback.format_exc()
             logger.error("%s\n%s" , e, exception_data)
 
-            _, _, tb = sys.exc_info()
-            if tb is not None:
-                curr = tb
-                while curr is not None:
-                    logger.error("Error data dump %s\n%s\n" , traceback.format_tb(curr,1), pformat(curr.tb_frame.f_locals))
-                    curr = curr.tb_next
-
             # save them to database, if possible; if it fails, we already logged to console.
             try:
                 buildinfohelper.store_log_exception("%s\n%s" % (str(e), exception_data))
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-03-21 15:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-10 14:28 [PATCH 1/2] toasterui: Remove the excessive exception logging Michael Wood
2016-03-10 14:28 ` [PATCH 2/2] toaster: buildinfohelper Add additional metadata to the built layer Michael Wood
2016-03-11  9:42   ` Barros Pena, Belen
2016-03-17 18:27   ` [v2 PATCH] " Michael Wood
2016-03-21 14:58     ` Barros Pena, Belen
2016-03-21 15:24       ` Michael Wood
2016-03-17 11:47 ` [PATCH 1/2] toasterui: Remove the excessive exception logging Smith, Elliot
2016-03-17 11:49 ` Smith, Elliot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.