Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B519317947 for ; Sat, 25 Oct 2014 13:36:12 +0000 (UTC) Received: (qmail 65593 invoked by uid 500); 25 Oct 2014 13:36:12 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 65510 invoked by uid 500); 25 Oct 2014 13:36:12 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 65494 invoked by uid 99); 25 Oct 2014 13:36:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Oct 2014 13:36:11 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of busbey@cloudera.com designates 209.85.192.51 as permitted sender) Received: from [209.85.192.51] (HELO mail-qg0-f51.google.com) (209.85.192.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Oct 2014 13:35:46 +0000 Received: by mail-qg0-f51.google.com with SMTP id a108so2106748qge.38 for ; Sat, 25 Oct 2014 06:34:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=rl4PuGAj3WyxK4n3Xzf4oXsG1ZDcfjcgeCVDH+0UcFo=; b=KchlOGtl90cW/kNYV2+2IO5nTZDlXEKQz+SGo2aBoN5y4EYXadxfUn08TRu3K+m5nB 3/yqJpkVZWHqTwPiBkeXQZSKiPzJRGAuGTngb8x50xVOdFbpl4aBoybemwG2l20iFqnz 6zrLZL8zy+4OuRDDfZ/Y2Z/pF4nN/D6OTu5Dm1C1fUXbQmvbGCNtGhOzLrSWcSvNFBl9 6zPF+jJxDjwdwZm3c1Ttr4rbDYXOfKLLmqbzb1lqR56SxNjUtQx0KdJow2p/L10fJacx HR321KzZznmMimYFvX24z/CChu9DF2hONOB7tS8Xf0/Ieqibj3uWU3IwO2T/UOWmMzcx EYXA== X-Gm-Message-State: ALoCoQm6v+I+op1d/nPtKCdU2E5wBuV3o5vCX3Poq0+/tohfrvo/Mv0jZ4RpatVBsdFKTYvH3DDW MIME-Version: 1.0 X-Received: by 10.229.29.130 with SMTP id q2mr15706667qcc.8.1414244049911; Sat, 25 Oct 2014 06:34:09 -0700 (PDT) Received: by 10.229.104.136 with HTTP; Sat, 25 Oct 2014 06:34:09 -0700 (PDT) Received: by 10.229.104.136 with HTTP; Sat, 25 Oct 2014 06:34:09 -0700 (PDT) In-Reply-To: References: Date: Sat, 25 Oct 2014 08:34:09 -0500 Message-ID: Subject: Re: Reworking the use of log levels From: Sean Busbey To: dev Content-Type: multipart/alternative; boundary=001a1133c67284ead905063f5ae3 X-Virus-Checked: Checked by ClamAV on apache.org --001a1133c67284ead905063f5ae3 Content-Type: text/plain; charset=UTF-8 Even if debug is disabled in production, it could be enabled on a non-production system for reproducing the problem, no? -- Sean On Oct 25, 2014 7:11 AM, "Qiang Tian" wrote: > perhaps case by case is better. stacktrace is one of most important problem > determination methods. debug is mostly disabled in production, we may lose > important clues. > > > On Sat, Oct 25, 2014 at 1:14 PM, Sean Busbey wrote: > > > Hi! > > > > Right now we have many failure paths where we send stack traces to log > > files at ERROR / WARN. In an effort to make things easier to operate, I'd > > like to propose we move towards: > > > > * INFO/WARN/ERROR : description of failure and if possible an action an > > operator could take to fix/diagnose > > * DEBUG : information needed to handle failures that require developer > > action, i.e. stack traces > > > > I figure this can go as one or more subtasks off of HBASE-12341, but > wanted > > to float things here before I get started. > > > > -- > > Sean > > > --001a1133c67284ead905063f5ae3--