Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 41039 invoked from network); 9 Apr 2010 18:44:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 18:44:03 -0000 Received: (qmail 53048 invoked by uid 500); 9 Apr 2010 18:44:03 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 53004 invoked by uid 500); 9 Apr 2010 18:44:03 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 52996 invoked by uid 99); 9 Apr 2010 18:44:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 18:44:03 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.d.dick@gmail.com designates 209.85.221.187 as permitted sender) Received: from [209.85.221.187] (HELO mail-qy0-f187.google.com) (209.85.221.187) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 18:43:56 +0000 Received: by qyk17 with SMTP id 17so1456327qyk.9 for ; Fri, 09 Apr 2010 11:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:from:date:x-google-sender-auth:received :message-id:subject:to:content-type; bh=tl6mE+npNpq3mIKCdAnrSMsYcndEwoxTAQr9I7/XF3A=; b=YOdmteqjRAeoHYFyku9RvxDV84s+zC8CE/NnOjOwCFEwZaOmVuRaX6k/a5Y9qWjgWK hdu/7Xbe8H93k/yaZYtd5PX9nC/rkPZgcodFgfMQmXNVXa88VmWk7Cies9ZREJloBn3K K+9PXBIpjgYjSkwPXKjPZXdMyx0FoWVZu35/g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=jy8SrzgmOf99KH8Dz3t610vpMmeZoI7zzwG4szSuZhkNvMUUaofreY0N9jr5l8QCMA IO3ocrzPAO8EXoGiETbrbeJDbWsbAND34FmPW1WwnoSeW+j5S169wnVlV0q16mBBgss8 Eg48BGCIcytTditI93fLNWuP1LllUJcTMBRio= MIME-Version: 1.0 Sender: michael.d.dick@gmail.com Reply-To: mikedd@apache.org Received: by 10.229.41.197 with HTTP; Fri, 9 Apr 2010 11:39:44 -0700 (PDT) In-Reply-To: References: <1270830371201-4878105.post@n2.nabble.com> From: Michael Dick Date: Fri, 9 Apr 2010 13:39:44 -0500 X-Google-Sender-Auth: 5d5289260889535a Received: by 10.229.181.16 with SMTP id bw16mr634399qcb.0.1270838404452; Fri, 09 Apr 2010 11:40:04 -0700 (PDT) Message-ID: Subject: Re: [DISCUSS] localized trace messages To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=00163630fd5faf59b50483d21fc2 X-Virus-Checked: Checked by ClamAV on apache.org --00163630fd5faf59b50483d21fc2 Content-Type: text/plain; charset=ISO-8859-1 Debug is as good of a name as any other of we need a new log channel, if we need one. I looked into it a big and DEBUG was removed when we were incubating. The commit was revision 429535 and wasn't attached to a JIRA so the rationale is hard to find - might have just been duplication between trace and debug. -mike On Fri, Apr 9, 2010 at 11:56 AM, Albert Lee wrote: > FWIW...OpenJPA used to have a "DEBUG" channel, but has been deprecated, for > whatever historical or practical reason. > > Albert Lee > > On Fri, Apr 9, 2010 at 11:43 AM, Michael Dick wrote: > > > Hi Pinaki, > > > > That's a different definition of TRACE than I'm used to. I was under the > > impression that trace *is* for developers. It's hard to find a consensus > on > > the Internet but I can point to this > > definition< > > > http://en.wikipedia.org/wiki/Tracing_%28software%29#Event_logging_versus_tracing > > >which > > I think sums it up. > > > > If we do go with your definition of trace I'd argue that we need a new > log > > level which is for developers, not for users. > > > > -mike > > > > On Fri, Apr 9, 2010 at 11:26 AM, Pinaki Poddar > wrote: > > > > > > > > TRACE messages are *not* for the developer -- they are for the user > > (under > > > duress and using them as the last resort to figure out a problem) and > > they > > > must be localized. > > > > > > During development a developer may temporarily use whatever mechanics > to > > > suit his/her style -- but once the development is complete, then > cleaning > > > the workspace is part of the work process. > > > > > > > > > ----- > > > Pinaki > > > -- > > > View this message in context: > > > > > > http://n2.nabble.com/DISCUSS-localized-trace-messages-tp4877982p4878105.html > > > Sent from the OpenJPA Developers mailing list archive at Nabble.com. > > > > > > > > > -- > Albert Lee. > --00163630fd5faf59b50483d21fc2--