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 (JIRA)" <ji...@apache.org> on 2008/11/14 08:41:05 UTC

[jira] Resolved: (SM-1317) Add a system property to change CXF to use Log4J instead of JUL

     [ https://issues.apache.org/activemq/browse/SM-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SM-1317.
------------------------------

    Fix Version/s:     (was: servicemix-wsn2005-2008.02)
                       (was: servicemix-cxf-se-2008.02)
                       (was: servicemix-cxf-bc-2008.02)
       Resolution: Fixed

commit fix 
http://svn.apache.org/viewvc?rev=713947&view=rev for 3.2 branch
http://svn.apache.org/viewvc?rev=713948&view=rev for trunk

> Add a system property to change CXF to use Log4J instead of JUL
> ---------------------------------------------------------------
>
>                 Key: SM-1317
>                 URL: https://issues.apache.org/activemq/browse/SM-1317
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-assembly
>    Affects Versions: 3.2.1, 3.2.2, 3.2.3, 3.3
>            Reporter: Bruce Snyder
>            Assignee: Freeman Fang
>             Fix For: 3.3.1, 3.2.4
>
>
> By default CXF uses the java.util.logging (JUL) API for logging. This results in the following output: 
> {panel}
> INFO  - ComponentMBeanImpl             - Starting component: servicemix-cxf-se
> INFO  - ComponentMBeanImpl             - Initializing component: servicemix-cxf-se
> Apr 17, 2008 11:43:17 AM org.apache.cxf.bus.spring.BusApplicationContext getConfigResources
> INFO: No cxf.xml configuration file detected, relying on defaults.
> INFO  - ComponentMBeanImpl             - Starting component: servicemix-cxf-bc
> INFO  - ComponentMBeanImpl             - Initializing component: servicemix-cxf-bc
> Apr 17, 2008 11:43:18 AM org.apache.cxf.bus.spring.BusApplicationContext getConfigResources
> INFO: No cxf.xml configuration file detected, relying on defaults.
> INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished installation of archive:  servicemix-shared-3.2.2-SNAPSHOT-installer.zip
> {panel}
> Note that the CXF output format is different than the SMX output. This is simply due to log formatting and is easiest to remedy through the use of a system property as described in the CXF docs [Using Log4j Instead of java.util.logging|http://cwiki.apache.org/CXF20DOC/debugging.html#Debugging-UsingLog4jInsteadofjava.util.logging]. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.