From dev-return-21432-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Tue Dec 06 23:58:59 2005 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 25282 invoked from network); 6 Dec 2005 23:58:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Dec 2005 23:58:58 -0000 Received: (qmail 85622 invoked by uid 500); 6 Dec 2005 23:58:58 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 85574 invoked by uid 500); 6 Dec 2005 23:58:58 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 85563 invoked by uid 99); 6 Dec 2005 23:58:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 15:58:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [65.77.211.84] (HELO www2.kc.aoindustries.com) (65.77.211.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 15:58:57 -0800 Received: from fo2.kc.aoindustries.com (www2.kc.aoindustries.com [65.77.211.84]) by www2.kc.aoindustries.com (8.13.1/8.13.1) with ESMTP id jB6NwZHd030628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Dec 2005 17:58:35 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by fo2.kc.aoindustries.com (8.13.1/8.13.1/Submit) id jB6NwZDx030542 for dev@forrest.apache.org; Tue, 6 Dec 2005 17:58:35 -0600 X-Authentication-Warning: fo2.kc.aoindustries.com: indexgeo set sender to crossley@apache.org using -f Date: Wed, 7 Dec 2005 10:58:15 +1100 From: David Crossley To: dev@forrest.apache.org Subject: Re: tuning the logfiles (Was: (FOR-702)) Message-ID: <20051206235815.GA8349@igg.indexgeo.com.au> References: <1237488566.1128478667492.JavaMail.jira@ajax.apache.org> <802904449.1133862068789.JavaMail.jira@ajax.apache.org> <20051206234216.GB8169@igg.indexgeo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051206234216.GB8169@igg.indexgeo.com.au> User-Agent: Mutt/1.4i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N David Crossley wrote: > Ross Gardler commented on FOR-702: > > ---------------------------------- > > > > Right now the locatonmap logs are being duplicated in the > > linkrewriter, the locationmap and the core logs. This is a > > waste of resources, we need to make them appear in just > > the locationmap log. I guess this is a logkit.xconf setting > > Yes it is managed by logkit and easily changed. > > However there is a reason for that duplication. > > The locationmap.log provides only locationmap > messages, so that they are easily to focus on. > > Whereas core.log provides the full context. > It is important to be able to see the requests > that spawned the locationmap requests. > > I don't agree that this duplication is a waste of resources. > This only happens if the developer deliberately sets > the level to be DEBUG in logkit.xconf > > Set DEBUG on the core.log so that locationmap > messages go there along with everything else. > If you want to also see the locationmap messages > separately, then also raise its log-level. Sorry, i only answered part of the issue. Why also duplicated in the linkrewriter log? I don't know. These separate logs were added when trying to debug the Linkrewriter issues with the JXPath bug. I found these logs useful so left them configured. Now there must have been a reason for the duplication. Probably the same reason as above: "to provide context". I just made a commit which commented that one out as an example of how to gain more contextual info. -David