Uploaded image for project: 'CXF Distributed OSGi (Retired)'
  1. CXF Distributed OSGi (Retired)
  2. DOSGI-113

Integration with pax-logging not possible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.4.0
    • Product
    • Felix and Eclipse

    • Unknown

    Description

      I tried to integrate Apache CXF 1.2 and 1.3 with pax-logging. It failed with both versions:

      • Apache CXF 1.2: pax-logging does not export package "org.apache.log4j.jmx". So as long as this package is needed by CXF, this would be an issue of pax-logging
      • Apache CXF 1.3: Dependencies could all be resolved and pax-logging integrates fine with my own code (which uses Log4j as the API), but the logging messages from CXF still appear on the console and not where I configured it. I also tried to switch CXF to use Log4j instead of SLF4J, but it seems that the system property "org.apache.cxf.Logger" is not respected.

      Please see the users mailing list with the topic "Configure logging in CXF + pax-web + Jetty" (http://mail-archives.apache.org/mod_mbox/cxf-users/201202.mbox/%3C4F3B8181.9080705@gmail.com%3E) for more details.

      Attachments

        Activity

          People

            cschneider Christian Schneider
            sven viehmeier Sven Viehmeier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: