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

LogUtils does not recognize SLF4J due to invallid Class.forName()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.6
    • 2.2.7
    • Core
    • Any environement.

    • Novice

    Description

      LogUtils uses Class.forName("org/slf4j/impl/StaticLoggerBinder") to determine if SLF4J is present. This will always throw a ClassNotFound exception which is ignored in the catch and JUL gets used. The correct statement should be Class.forName("org.slf4j.impl.StaticLoggerBinder"); Which then will initialize logging correctly.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            bpasson Bas Passon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: