Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 34301 invoked from network); 22 Nov 2006 16:00:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Nov 2006 16:00:46 -0000 Received: (qmail 81002 invoked by uid 500); 22 Nov 2006 16:00:54 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 80763 invoked by uid 500); 22 Nov 2006 16:00:53 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 80752 invoked by uid 99); 22 Nov 2006 16:00:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Nov 2006 08:00:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [68.142.198.205] (HELO smtp106.sbc.mail.mud.yahoo.com) (68.142.198.205) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 22 Nov 2006 08:00:40 -0800 Received: (qmail 68641 invoked from network); 22 Nov 2006 16:00:18 -0000 Received: from unknown (HELO ?172.16.1.34?) (curt.arnold@sbcglobal.net@64.149.41.215 with plain) by smtp106.sbc.mail.mud.yahoo.com with SMTP; 22 Nov 2006 16:00:16 -0000 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <45641758.8040005@gmail.com> References: <45641758.8040005@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <52E701B6-CF2C-4342-A029-D1140203C101@apache.org> Content-Transfer-Encoding: 7bit From: Curt Arnold Subject: Re: Trace and Debug level usage Date: Wed, 22 Nov 2006 10:00:13 -0600 To: Log4J Users List X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 22, 2006, at 3:24 AM, Stefano Nichele wrote: > Hi All, > I don't know if this is the right list, maybe not and I apologize > if this is not the right one. BTW, I would like to know how DEBUG > and TRACE level are usually handled. > I mean, when a log record should be DEBUG and when that should be > TRACE ? > I'm working on a web application and the idea could be: all records > useful for an administrator should be DEBUG and not TRACE. At TRACE > level just the information useful to the developers could be > logged. So, for instance, a value of an "internal" variable should > be logged as TRACE. I know this is not easily distinguishable and > so I'm wondering how these level are handled from other users. > > Thanks > Ste > I suggest using logger names to distinguish messages targeted to different audiences. For example, use logger names based on class names for diagnostic messages targeted for developers and some other naming system for messages targeted to administrators. Search the archives for "audience" or "audit" and you can find previous discussions on this topic. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org