You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (Work started) (JIRA)" <ji...@apache.org> on 2011/12/06 10:57:40 UTC
[jira] [Work started] (SMX4-1002) Use SLF4J instead of Java
standard logging for CXF in SMX
[ https://issues.apache.org/jira/browse/SMX4-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on SMX4-1002 started by Freeman Fang.
> 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
> Assignee: Freeman Fang
> Priority: Trivial
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> 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