Hi

I have the following setup in my log4j.properties file.

log4j.rootLogger=warn, console

## Output cxf logging information to console
log4j.logger.org.apache.cxf.interceptor.LoggingInInterceptor=info, console
log4j.logger.org.apache.cxf.interceptor.LoggingOutInterceptor=info, console

## console out put configuration
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.Target=System.out
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n


Even if I commented out cxf logging in cxf.xml file, it still output the request/response messages to Web Logic console. Is this a bug?

<cxf:bus>

<cxf:features>

<!-- cxf:logging / -->

</cxf:features>
</cxf:bus>


Thanks
Steve


On 6/9/2011 7:24 AM, Aki Yoshida wrote:
Hi,
I am not familiar with Web Logic and don't know how to set its logging.

If you want to see the Logging interceptor writing to the console, you
need to tell the web logic's logging component to log the following
components to the console with log level INFO.

org.apache.cxf.interceptor.LoggingInInterceptor
org.apache.cxf.interceptor.LoggingOutInterceptor

regards, aki

2011/6/8 STEVEN THEIN<[email protected]>:
Hi,

I had the following defined in my cxf.xml file. When I run our Web Services
using Web Logic 11gR3, the request and response messages are not written out
  to the console.
Is there any thing,  I need to configure on CXF side or on WebLogic side?

<cxf:bus>

<cxf:features>

<cxf:logging />

</cxf:features>
</cxf:bus>

Thanks
Steve

Reply via email to