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

Add a NOOP method org.apache.log4j.Logger.setLevel() to enhance the bridging of Log4J over SLF4J

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: log4j-over-slf4j
    • Labels:
      None
    • Environment:

      Operating System: Mac OS X 10.3
      Platform: PC

      Description

      As a user of SLF4J who wants to bridge Log4J, I would like a org.apache.log4j.Logger.setLevel() method that is a NOOP implementation. Currently, this method does not exist on the org.apache.log4j.Logger class, and this causes a runtime exception to be thrown when 3rd party applications call legacy the method Logger.setLevel(Level lvl).

      Thanks.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: