cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinhard_po...@gmx.net>
Subject RE: Logging categories
Date Wed, 14 May 2003 08:28:24 GMT
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


Mime
View raw message