cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: Behaviour of LogKit
Date Sat, 24 Dec 2005 13:22:12 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 24 Dec 2005, Carsten Ziegeler wrote:

> Date: Sat, 24 Dec 2005 11:39:59 +0100
> From: Carsten Ziegeler <cziegeler@apache.org>
> Reply-To: dev@cocoon.apache.org
> To: dev@cocoon.apache.org
> Subject: Re: Behaviour of LogKit
> 
> Are you sure that the flood of debug messages is not comming from the
> new "override log level" feature of 2.2? By default Cocoon is running in
> dev mode where the override log level property is set to "DEBUG". This
> means that the log levels from logkit.xconf are ignored. You can either
> change this by not specifying the property or by using a different
> runmode - I currently have not access to svn so I can't give you the
> details.

Hmm.. the flood is only at startup. Not during normal usage.
But I have to play with that feature first to be sure. .... Couldn't 
find any hints onhow to change that. Do you have some pointers for me (I 
know I'm lazy ;)

Thanks

>
> Carsten
>
> Giacomo Pati wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> It seems to me that the LogKit (precisely the rootLogger of it) gets it
>> Priority setup much later in the initialization phase in 2.2 as it was
>> in 2.1. Nobody else got bored about the flood of debugging messages at
>> startup?
>>
>> The cause is at line 413 in [1], #unsetPriority(...) method, where the
>> default Priority is set to DEBUG.
>>
>> [1] http://cvs.apache.org/viewcvs.cgi/avalon/trunk/runtime/logkit/src/java/org/apache/log/Logger.java?root=Apache-SVN&rev=30977&view=markup
>>
>> - --
>> Giacomo Pati
>> Otego AG, Switzerland - http://www.otego.com
>> Orixo, the XML business alliance - http://www.orixo.com
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.2 (GNU/Linux)
>>
>> iD8DBQFDrHFyLNdJvZjjVZARAgylAKDiXz3barHWYg7YSdn2Elph/Te6GgCaAnX3
>> gWvclL5RMkcIuUZayoVweWs=
>> =nQ6X
>> -----END PGP SIGNATURE-----
>>
>
>
>

- -- 
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDrUuFLNdJvZjjVZARApb6AKCBPveu1s9FYT7OkazYt6q5FShPIACgkjAT
aGsfI4fgwWcQCYTen+Iahbo=
=dwUp
-----END PGP SIGNATURE-----

Mime
View raw message