Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-225

log4j-over-slf4j and legacy projects providing their own log4j LoggerFactory

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.6.x
    • log4j-over-slf4j
    • None
    • Operating System: All
      Platform: All

    Description

      I tried to use log4j-over-slf4j in a legacy project that provides its own LoggerFactory and when I use log4j-over-slf4j I get a java.lang.NoSuchMethodError for Logger#getLogger(String name, LoggerFactory factory). After having inspected the log4j-over-slf4j source code, it seems that the bridge does not provide an implementation for the Logger#getLogger(String name, LoggerFactory factory) method. Is there any reason for that?

      Attachments

        1. fix.patch
          2 kB
          Piotr Jagielski

        Activity

          People

            slf4j-dev SLF4J developers list
            laurent.pellegrino@gmail.com laurent.pellegrino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: