On Sep 17, 2014, at 5:58 AM, Theliro <[email protected]> wrote:
> I am developing a web application with CXF webservices. The logging of > inbound/outbound messages is done using slf4j and logback. When I used CXF > version 2.5.11 everything was logged fine, all inbound/oubound messages were > logged in catalina.out. As soon as I changed the version (currently I am > using 2.7.11 but the issue is alive starting from 2.6.0) the inbound/oubound > messages were no more logged in catalina.out but in the log file > corresponding to my logback configuration. Did anybody encounter this > situation? Is there any chance to put back my inbound/oubound messages in > catalina.out? CXF will try and use the Loggers by default for logging the data from the interceptors. However, when you configure the Logging interceptor, you can tell them to log elsewhere via the OuputLocation property. If you set it to <stdout>, then it will log to stdout which should then likely go to the catalina.out. You can use a file:/ URI as well and it would log to a specific file. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
