cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cocoon Wiki] Trivial Update of "UnderstandingCocoonLogging" by EricBoisvert
Date Wed, 24 Aug 2005 10:16:03 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by EricBoisvert:
http://wiki.apache.org/cocoon/UnderstandingCocoonLogging

------------------------------------------------------------------------------
  
  is a specific log destination of type 'cocoon' (see the previous example  factory) named
'sitemap'.. many instance of this kind of logger are possible  (for example, a certain factory,
like SMTPTargetFactory might create a logger class that sends emails to someone).    If you
scan the targets section of the logkit.conf, you'll find the familiar list of log files (errors,
core,s itemap,handled-errors,etc..).  In the default implementation of Cocoon, they are all
of cocoon type.  The structure of the tags depends  of the logger type and there are documented
on the ConfiguringTheLogs page.
   
+ The last section, "categories", are really like matchers in the sitemap.  This sections
tells what log event to catch and where the send them (in  which target).   Categories are
recursive, so categories can be made of other categories:
-  The last section, "categories", are really like matchers in the
- sitemap.  This sections tells what log event to catch and where the send them
- (in  which target).   Categories are recursive, so categories can be made of other categories:
   
  {{{
   <category log-level="WARN" name="core">
@@ -189, +187 @@

   
   You can now use the {{{ getLogger().debug(...); }}}  call in you java code !
   
-  Remember that you must restart tomcat for changes in the logkit.conf to be  applied.
+  /!\ Remember that you must restart tomcat for changes in the logkit.conf to be  applied.
  

Mime
View raw message