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

Logs not redirecting to Log4J

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.1
    • Component/s: Core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Log4jLogger was removed in CXF-8264, but LogUtils is still trying to instantiate it when SLF4J has a binding for Log4J or JCL->Log4J.

      As a result, when both slf4j and log4j-slf4j-impl are in the classpath, CXF still sends logs to JUL.

      LogUtils should always use Slf4jLogger instead.

      I will submit a PR on GitHub to fix this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coheigea Colm O hEigeartaigh
                Reporter:
                bjansen Bastien Jansen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: