Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4A0A8E00CAE; Thu, 10 Mar 2016 06:28:39 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.125.82.46 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 88151E00CA4 for ; Thu, 10 Mar 2016 06:28:34 -0800 (PST) Received: by mail-wm0-f46.google.com with SMTP id p65so31072727wmp.0 for ; Thu, 10 Mar 2016 06:28:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=1PIlPxHq6ijRMZFtEVY6KEEVLZKltGwvQ1vB1OG+faE=; b=SaWf6uCgjK75dBt5zQIrHShK7MUL1BE2v2FWF1wnEaYOtcUvD6LtAV5jzVMf+UhAqm EhwFBmaYyZh3qvOdMrYXQktcCax9aKzfFgsaQl975QSMo8gI1yq9y20oBTriznJFP9iX bKTYIOCsJlnEbaeTdiw6MR630LLdc4T66xpMI92cbMLuBsGQiVwShCrDOwROCot6I/aC VkrEX0K5OyviVb8S28Solmgyiw6vOKtr8JGzIqqXM3b9mpIGzbzU+2D95C24qyG6l8j4 2KGxc8fTs/R5Cx6Q1C9UfBx+6l8tLNPEgbm+tgGFCXt0lFTlnElj67+qcMYzzCnwEpat eCGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1PIlPxHq6ijRMZFtEVY6KEEVLZKltGwvQ1vB1OG+faE=; b=CbJ+vWYCMcwJ61LV3sWS1a6uwIQKNhDM98TO6JT80DhrkiTgpqL2vp5/CfFwCU6e/d BO9pBSCNi9pRPd5cHfdwsV8dIoJcFNLmxWpORVlibIoaWowJ74tvSYxrRFE7J3+quu3+ 0/FFvlhudj6QyR3CN49vlxrnFLwoFJMB+DVpVbZ8VbG8Koowf7cyArFKJVmt/PYQhxY8 8F+y4DyUuuPA+I1K2q/j7WCt+KWbOwn/q/vj6Y2X4npjCMEom35jheQkK9TKWQBPRJGv EJUbLCcZTiBHRpmL2N+oFys35f1b+mBzM1myaZGlGooPMdGDprEQSYNGFcLkaL4WPqpF WbFQ== X-Gm-Message-State: AD7BkJIenv4BKOFIAthbM9cglNnPX5dzX06IH3T9YQgwrmR07BKa4Bv2ZCJU+t0NohNtzm8z X-Received: by 10.28.223.70 with SMTP id w67mr4100267wmg.92.1457620114124; Thu, 10 Mar 2016 06:28:34 -0800 (PST) Received: from draco.icx.intel.com ([83.217.123.106]) by smtp.gmail.com with ESMTPSA id lh1sm3784363wjb.20.2016.03.10.06.28.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Mar 2016 06:28:33 -0800 (PST) From: Michael Wood To: toaster@yoctoproject.org Date: Thu, 10 Mar 2016 14:28:28 +0000 Message-Id: <1457620109-9496-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.1.4 Subject: [PATCH 1/2] toasterui: Remove the excessive exception logging X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2016 14:28:39 -0000 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 --- 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