You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Freeman Fang <fr...@gmail.com> on 2007/10/01 03:44:32 UTC

Re: More logging distress

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.