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

Logs not redirecting to Log4J

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.1
    • Core
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: