Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4180

LogUtils should default to CXF's Slf4jLogger if it can't find Log4J or JCL driver

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.2
    • Fix Version/s: 2.6
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Any

    • Estimated Complexity:
      Unknown

      Description

      LogUtils looks for an instance of SLF4J's ILoggerFactory, then tests it's name for Log4J and JUL. If it fails, it just bails out.

      Nicer would be to instead use the existing org.apache.cxf.common.logging.Slf4jLogger in that case. This would keep us from having to use the silly META-INF/cxf/org.apache.cxf.Logger configuration to set up Logback or another ILoggerFactory implementation.

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              mattbishop Matt Bishop
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: