Log4j 2
  1. Log4j 2
  2. LOG4J2-576

Add org.apache.logging.log4j.Logger.getLevel()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc1
    • Fix Version/s: 2.0-rc2
    • Component/s: API, SLF4J Bridge
    • Labels:
      None
    • Environment:

      Description

      Add org.apache.logging.log4j.Logger.getLevel().

      This will make is easier to port from 1.2.

        Activity

        Hide
        Gary Gregory added a comment -
        commit -m "<action issue="LOG4J2-576" dev="ggregory" type="add">..." (9 paths specified)
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/simple/SimpleLogger.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLoggerWrapper.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/test/java/org/apache/logging/log4j/TestLogger.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/Logger.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-to-slf4j/src/main/java/org/apache/logging/slf4j/SLF4JLogger.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml
            Transmitting file data ...
            Committed revision 1580752.
        
        Show
        Gary Gregory added a comment - commit -m "<action issue="LOG4J2-576" dev="ggregory" type="add">..." (9 paths specified) Sending C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/simple/SimpleLogger.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLoggerWrapper.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-api/src/test/java/org/apache/logging/log4j/TestLogger.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/Logger.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-to-slf4j/src/main/java/org/apache/logging/slf4j/SLF4JLogger.java Sending C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml Transmitting file data ... Committed revision 1580752.
        Hide
        Gary Gregory added a comment -

        yes, I plan on addressing setLevel() separately.

        Show
        Gary Gregory added a comment - yes, I plan on addressing setLevel() separately.
        Hide
        Remko Popma added a comment - - edited

        +1 Looks like a useful feature to me, especially if it helps with 1.2 -> 2 migration.
        It might invite requests for a setLevel method, but that is a different topic.

        Show
        Remko Popma added a comment - - edited +1 Looks like a useful feature to me, especially if it helps with 1.2 -> 2 migration. It might invite requests for a setLevel method, but that is a different topic.

          People

          • Assignee:
            Gary Gregory
            Reporter:
            Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development