cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Froehlich" <g-froehl...@gmx.de>
Subject RE: try to improve logging
Date Thu, 20 Dec 2001 18:58:54 GMT
>From: David Crossley [mailto:crossley@indexgeo.com.au]
>Gerhard Froehlich wrote:
>> Giacomo Pati wrote:
>> >Gerhard Froehlich wrote:
>> >> Hi Team,
>> >> I _try_ to improve our logging and wanna change
>> >> this to Berins proposal:
>> >>   core.log
>> >>   sitemap.log
>> >>   access.log
>> >>   error.log
>> >>
>> >> I found a logkit.xconf, where I can define this categories.
>> >> Then I can assign this categories to the logger attribute
>> >> of component config. in the cocoon.xconf.
>> >
>> >Correct. Actually even the component in the sitemap.xmap can be
>> >configured with the logger attribute.
>> 
>> yep
>> 
>> >> But I stuck defining different log targets for classes like
>> >> CocoonServlet, etc, which are not listed in the cocoon.xconf file.
>> >> Do I have to set the target in each class seperate or can I do it
>> >> in a general place, I didn't found?
>> >
>> >The CocoonServlet uses the log category mentioned in the web.xml file as
>> >parameter "servlet-logger". All other classes (including Avalon CM) uses
>> >the logger mentioned in the web.xml file parameter "cocoon-logger".
>> 
>> aha, web.xml that was the missing file ;-). thx!!
>
>Would it be possible for you to add a new xdoc or entry in
>faq.xml for this? Even just simple dot-points for now would help.
>--David Crossley

Done

  Gerhard
 
TANSTAAFL




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message