We used to have a log4j config like below:
<!-- Set level to INFO/OFF to enable/disable logging of SOAP requests/responses --> <logger name="org.apache.cxf.interceptor.LoggingInInterceptor" additivity="false">
  <level value="INFO" />
  <appender-ref ref="CONSOLE" />
</logger>

I noticed that with CXF 2.6.1 (don't know with which version this changed) the logger names are no longer static. CXF uses org.apache.cxf.services.<serviceName>[1]. This is a bit inconvenient if you have several services since you need to either configure them all individually in log4j.xml or use wildcards in log4j.xml.

Are there ways around that?

Cheers,
Marcel

[1] org.apache.cxf.interceptor.AbstractLoggingInterceptor.getMessageLogger(Message)

--
Marcel Stör, http://www.frightanic.com
Couchsurfing: http://www.couchsurfing.com/people/marcelstoer
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Reply via email to