cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <freeman.f...@gmail.com>
Subject Re: More logging distress
Date Mon, 01 Oct 2007 01:44:32 GMT

Hi,
I believe we already support it now.

Just set system property org.apache.cxf.Logger as
org.apache.cxf.common.logging.Log4jLogger, you should get what you want.

You can refer to static init block of LogUtils to get more details

Best Regards

Freeman


bmargulies wrote:
> 
> I tried to add the LogUtils call to set up the log4j shim in a @Before
> of a test.
> 
>  
> 
> The result is the failure I sent to cxf-user.
> 
>  
> 
> Before my @Before runs, some other @Before runs and sets up the bus.
> 
>  
> 
> At that time, I get the fatal lack-of-bundle exceptions.
> 
>  
> 
> I have not yet figured out why a line of code that isn't called is
> causing a change in the behavior. Or, for that matter, how I'm supposed
> to make sure that I get the LogUtils calls in first. I think we really
> need a system property here.
> 
>  
> 
>  
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/More-logging-distress-tf4543875.html#a12972197
Sent from the cxf-dev mailing list archive at Nabble.com.


Mime
View raw message