On 07/24/2009 08:01 PM, Daniel Kulp wrote:
On Fri July 24 2009 12:20:06 pm Bruno Melloni wrote:
I have a similar situation.

1) Do you know why cxf would send Info/Trace messages to stderr?

I think it's a bug in how jboss has java.util.logging configured, but I'm not
really sure.  We just log to j.u.l and wherever it goes, it goes.

Bug, . . . feature . . . I ain't sayin nuttin :-)

I thought
the purpose of stderr is for errors, and stdout for all other output.  If
my understanding is correct (which of course is highly questionable), that
would make jBoss' behavior correct.

2) My application already uses log4j and its output goes to the logger just
fine.  How do you tell CXF to direct its output to the jBoss logger instead
of using stderr?  If there is a how-to or other documentation, can you
point me to it?

There is instruction on how to get CXF to log to log4j at:

http://cwiki.apache.org/CXF20DOC/debugging.html

Thanks for clarifying that Dan. Added it to my 'cxf goodies' bookmark menu.

regards,


Andrew Dinn

Reply via email to