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

log4j-over-slf4: Missing constructors and Methods for ConsoleAppender

    XMLWordPrintable

Details

    • normal
    • TMC-4236

    Description

      The current ConsoleAppender implementation is empty, without any constructors or methods. This results in an incompatibility for one of our projects dependency:

       

      java.lang.NoSuchMethodError: org.apache.log4j.ConsoleAppender.<init>(Lorg/apache/log4j/Layout;)V
      	at logging.xxxFactory.getLogger(xxxFactory.java:26)
      

      The `FileAppender` provides the needed constructors. The mocking implementation should provide all constructors and (optionally) methods exposed by the original class.
      PR available at https://github.com/qos-ch/slf4j/pull/259/

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            bratkartoffel Simon F
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: