Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 53916 invoked by uid 500); 14 May 2003 08:29:18 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 53845 invoked from network); 14 May 2003 08:29:17 -0000 Received: from mail.gmx.net (213.165.64.20) by daedalus.apache.org with SMTP; 14 May 2003 08:29:17 -0000 Received: (qmail 18902 invoked by uid 65534); 14 May 2003 08:29:29 -0000 Received: from chello062178239020.5.15.vie.surfer.at (EHLO WRPO) (62.178.239.20) by mail.gmx.net (mp014-rz3) with SMTP; 14 May 2003 10:29:29 +0200 From: =?iso-8859-1?Q?Reinhard_P=F6tz?= To: Subject: RE: Logging categories Date: Wed, 14 May 2003 10:28:24 +0200 Message-ID: <003501c319f2$ca8268b0$1e01a8c0@WRPO> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N David, In the targets you describe the pysical destination where the log messages should be routed to - e.g. file system, database, JMX, ... But you can't send your messages directly to a log target but to a log category (see the logger attribute in the sitemap). In the categories section of logkit.xconf you describe to which targets your log messages should be send and here it's possible to send them to more than one target - e.g. all "core" log messages are sent to the "core target" but if they have the loglevel "ERROR" they are *additionally* sent to the "error target". Reinhard > -----Original Message----- > From: Carmona Perez, David [mailto:DPerezCar@fcc.es] > Sent: Wednesday, May 14, 2003 9:27 AM > To: cocoon-users@xml.apache.org > Subject: Logging categories > > > Hi all, > > I've been searching in several pages like > http://wiki.cocoondev.org/Wiki.jsp?> page=ConfiguringTheLogs , > http://wiki.cocoondev.org/Wiki.jsp?page=JavaLogging and others about how to setup categories in logkit.xconf. I understand perfectly about log targets and factories, but don't fully understand about categories, how their definition is nested. Do I have to repeat for each sub-category their log targets? -------- David --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org