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

Class org.apache.log4j.Category is missing class setLevel(Level)

    XMLWordPrintable

Details

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

    Description

      There is an API incompatibility in log4j-over-slf4j 1.7.2 (and earlier versions) with the original Log4J 1.2.x: the class org.apache.log4j.Category is missing the method "public void setLevel(org.apache.log4j.Level)". Even if it would do nothing in log4j-over-slf4j (as does getLevel(), which is not missing), it should be present, IMHO.

      I have not checked whether there are more incompatibilities, I have just noticed it when trying to compile one of our projects with log4j-over-slf4j.

      Attachments

        Activity

          People

            christian.trutz@gmail.com Christian Trutz
            thorsten.moeller@unibas.ch Thorsten
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: