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:36:28 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 24 Dec 2005, Giacomo Pati wrote:

> Date: Sat, 24 Dec 2005 14:22:12 +0100 (CET)
> From: Giacomo Pati <giacomo@apache.org>
> Reply-To: dev@cocoon.apache.org
> To: dev@cocoon.apache.org
> Subject: Re: Behaviour of LogKit
> 
> --[PinePGP]--------------------------------------------------[begin]--
> 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 ;)

I've changed the dev/core.properties's loglevel to INFO (just to see 
whether this changes somethng) with no effect to the startup flood of 
debugging messages.

>
> 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
> --[PinePGP]-----------------------------------------------------------
> gpg:  Signature made Sat Dec 24 14:22:13 2005 CET using DSA key ID 98E35590
> gpg:  Good signature from "Giacomo Pati <giacomo@otego.com>"
> gpg:                  aka "Giacomo Pati <giacomo@apache.org>"
> gpg:                  aka "Giacomo Pati <giacomo@pati.ch>"
> --[PinePGP]----------------------------------------------------[end]--
>
>

- -- 
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)

iD8DBQFDrU7eLNdJvZjjVZARAnPhAJ0W4vCbZw3GicXa0+lnA0rgQHsiZwCgl3Zi
AcP583TcCBqUjx9r9eURVg4=
=JpKO
-----END PGP SIGNATURE-----

Mime
View raw message