ServiceMix
  1. ServiceMix
  2. SM-1317

Add a system property to change CXF to use Log4J instead of JUL

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1, 3.2.2, 3.2.3, 3.3
    • Fix Version/s: 3.2.4, 3.3.1
    • Component/s: servicemix-assembly
    • Labels:
      None

      Description

      By default CXF uses the java.util.logging (JUL) API for logging. This results in the following output:

      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

      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.

        Activity

        Bruce Snyder created issue -
        Freeman Fang made changes -
        Field Original Value New Value
        Assignee Bruce Snyder [ bsnyder ] Freeman Fang [ ffang ]
        Freeman Fang made changes -
        Fix Version/s servicemix-cxf-se-2008.02 [ 11960 ]
        Component/s servicemix-cxf-se [ 11686 ]
        Component/s servicemix-wsn2005 [ 11526 ]
        Component/s servicemix-cxf-bc [ 11687 ]
        Fix Version/s 3.3.1 [ 11978 ]
        Fix Version/s 3.2.4 [ 11990 ]
        Fix Version/s servicemix-cxf-bc-2008.02 [ 11969 ]
        Fix Version/s servicemix-wsn2005-2008.02 [ 11957 ]
        Freeman Fang made changes -
        Component/s servicemix-wsn2005 [ 11526 ]
        Component/s servicemix-cxf-bc [ 11687 ]
        Component/s servicemix-cxf-se [ 11686 ]
        Component/s servicemix-assembly [ 11520 ]
        Show
        Freeman Fang added a comment - 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
        Freeman Fang made changes -
        Fix Version/s servicemix-cxf-se-2008.02 [ 11960 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s servicemix-cxf-bc-2008.02 [ 11969 ]
        Fix Version/s servicemix-wsn2005-2008.02 [ 11957 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:46:19 EST 2010 [ 1290836779991 ]

          People

          • Assignee:
            Freeman Fang
            Reporter:
            Bruce Snyder
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development