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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development