Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 3672 invoked from network); 2 Nov 2007 02:06:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2007 02:06:42 -0000 Received: (qmail 78075 invoked by uid 500); 2 Nov 2007 02:06:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 78049 invoked by uid 500); 2 Nov 2007 02:06:18 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 78038 invoked by uid 99); 2 Nov 2007 02:06:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 19:06:18 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=FROM_LOCAL_NOVOWEL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lbrtchx@gmail.com designates 72.14.202.179 as permitted sender) Received: from [72.14.202.179] (HELO ro-out-1112.google.com) (72.14.202.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 02:06:22 +0000 Received: by ro-out-1112.google.com with SMTP id k4so747921rog for ; Thu, 01 Nov 2007 19:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=XxtSmxAalbYvl51WT1FWX391nN0JE8SBNJEpkxdYim4=; b=DsmUc5NJQzAixgqgvF7T3XYcwhw1AceU20XdEiEk+PjdrFm0r54JiSi278dguRVpbzq8t476JANtRAfHPP5TTJwyLfMQRbJ3KLooYU+5WBk5DyzQbuSFnEXj2g7HTMKT7LIAi0UYg0xTtoD53Hf1TNgqBzcdZlerki94sCrj8io= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RxcXF8XgPdaHeRfX3AFVxRBQFKTfRuUEB5sAHJkkrcqZUmXe9E3XOUfAaLp7yT2sRYaUQsv3A9FyrSe8Fx8V/yo9HjIAzJo2+Q9FJY1a/aOtYKIFBxsC2w/E3zes994llOfDElsWdNN3LOIyGTfXNrnl4/Vrz8pkafSoiD/0eKY= Received: by 10.142.178.13 with SMTP id a13mr376558wff.1193969159995; Thu, 01 Nov 2007 19:05:59 -0700 (PDT) Received: by 10.142.136.8 with HTTP; Thu, 1 Nov 2007 19:06:00 -0700 (PDT) Message-ID: <9ef66fac0711011906q3bbbd75dwd43d01ed7854fe24@mail.gmail.com> Date: Thu, 1 Nov 2007 22:06:00 -0400 From: "Albretch Mueller" To: users@tomcat.apache.org Subject: Re: Trying to use the "juli" Loggers within Tomcat In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9ef66fac0711011809o3203c892y440d0c60012d4929@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org where "foo" in: ~ > java.util.logging.Logger juliLogger = java.util.logging.Logger.getLogger("foo"); ~ is one the name of one of the loggers your defined in the logging.properties file in the webapp right? ~ Where could I find more detailed info on this? ~ I stopped using TC some time ago and now I notice how much things have changed ;-) ~ Thanks lbrtchx ~ On 11/1/00, mgainty@hotmail.com wrote: > org.apache.logging.julbridge.MockAppender mockAppender = new > org.apache.logging.julbridge.MockAppender(); > Logger.getRootLogger().addAppender(mockAppender); > java.util.logging.Logger juliLogger = > java.util.logging.Logger.getLogger("foo"); > juliLogger.info("boo"); > > > M-- > ----- Original Message ----- > Wrom: FPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRK > To: > Sent: Thursday, November 01, 2007 8:09 PM > Subject: Trying to use the "juli" Loggers within Tomcat > > > > Hi, > > ~ > > all I need is going like this from within a servlet > > ~ > > Logger Lg = LoggerFactory.getLogger(); > > Lg.log("blah"); > > ~ > > I am able to attach a logger to a webapp but I don't know how to use > > loggers to occassionally debug servlets and I couldn't find anything > > when I searched for it > > ~ > > How do you do that? > > ~ > > Thanks > > lbrtchx > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org