I recall some geronimo jars to do some weird things with
the loggers. Make sure you don't have geronimo-kernel
in your classpath.
AFAIK, nothing change the log level in servicemix code.


On 2/15/07, Rossmanith, Philipp <[EMAIL PROTECTED]> wrote:

Hi Guillaume,

org.apache.servicemix.jbi.security.SecuredBrokerTest, line 63:
jbi = new JBIContainer();

I created a Logger before this call and did a watch on it.

Ciao,
Philipp Rossmanith

ITC Analyst
Systems Integration
T-Systems ITC Iberia S.A.U.

Edifici 22@
Sancho d'Ă€vila 110-130
08018 Barcelona

Office:     + 34 93 501 56 22
Main:       + 34 93 501 50 00
Fax:        + 34 93 501 52 41
Email:      [EMAIL PROTECTED]
Internet:   www.t-systems.com

> -----Mensaje original-----
> De: Guillaume Nodet [mailto:[EMAIL PROTECTED]
> Enviado el: jueves, 15 de febrero de 2007 19:38
> Para: [email protected]
> Asunto: Re: Default constructor for JBIContainer changes log level?
>
> Hi Philipp !
>
> Can you point where this happen ?
> I don't recall any log4j direct calls in servicemix but the
> reconfiguration
> that happen in org.apache.servicemix.jbi.logging.LoggingService.
>
>
> On 2/15/07, Rossmanith, Philipp <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I'm currently working on a DefaultBroker subclass (see
> > http://www.nabble.com/Security-and-authorization-requirements-on-Request
> > Broker-tf3135938s12049.html) in which I can add handlers processing
> > MessageExchange instances within the sendExchangePacket method.
> >
> > One of them is a log4j-based logger with which I can log MessageExchange
> > properties etc.
> >
> > I did a unit test based on the test cases for the SecuredBroker. After
> > some investigations I found out that the call to the default constructor
> > of the JBIContainer changes the level of the root logger to ERROR.*)
> >
> > Is this a desired behaviour, and how can I turn it off?
> >
> > Thanks in advance,
> > Ciao,
> > Philipp Rossmanith
> >
> > *) I observed the same behaviour in the original test case after adding
> > a log4j Logger.
> >
> > This e-mail may contain confidential or privileged information. Any
> unauthorised
> > copying, use or distribution of this information is strictly prohibited.
> >
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/

This e-mail may contain confidential or privileged information. Any unauthorised
copying, use or distribution of this information is strictly prohibited.



--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/

Reply via email to