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 Wed, 19 Dec 2001 15:14:43 GMT
Giacomo,
hehe I know you would answer...

>-----Original Message-----
>From: giacomo [mailto:giacomo@apache.org]
>Sent: Wednesday, December 19, 2001 3:49 PM
>To: cocoon-Dev
>Subject: Re: try to improve logging
>
>
>On Wed, 19 Dec 2001, 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!!

>>
>> Maybe sombody can give me a little hint where to start and
>> how to configure the LogKit best.
>
>Hope this helps.

Much as always

  Gerhard

PS: Greeting EURO countries. I just fetched the EURO starterkit from
my Bank. Looks good those new coins ;-)

>Giacomo
>
>>
>> TIA
>>
>>   Gerhard
>>
>> "A man with one watch knows what time it is,
>> a man with two watches is never sure...
>> (Albert Einstein)"
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
>> For additional commands, email: cocoon-dev-help@xml.apache.org
>>
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
>For additional commands, email: cocoon-dev-help@xml.apache.org
>
>


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


Mime
View raw message