Details
Description
CXF uses by default the default Java logging framework (java.util.logging).
This framework does not support MDC (Mapped Diagnostic Context).
If the MDCSiftingAppender is used to have separate files for each route,
all CXF logs end up in the default file.
Solution : add the following line :
org.apache.cxf.Logger=org.apache.cxf.common.logging.Slf4jLogger
in the file
$SERVICEMIX_HOME/etc/system.properties
I propose to make it the default value in the ServiceMix distribution, if nobody sees any down-sides.
http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assemblies/shared/src/main/resources/etc/system.properties
Thanks.