servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "metatech (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SMX4-1002) Use SLF4J instead of Java standard logging for CXF in SMX
Date Tue, 06 Dec 2011 09:23:40 GMT
Use SLF4J instead of Java standard logging for CXF in SMX
---------------------------------------------------------

                 Key: SMX4-1002
                 URL: https://issues.apache.org/jira/browse/SMX4-1002
             Project: ServiceMix 4
          Issue Type: Improvement
          Components: Bundles
    Affects Versions: 4.3.0
         Environment: ServiceMix 4.3
            Reporter: metatech


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.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message