You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Karthik Prasad (Jira)" <ji...@apache.org> on 2021/09/20 22:06:00 UTC

[jira] [Created] (LOG4J2-3163) Fix typo in logging-log4j2/log4j-slf4j18-impl/src/main/java/org/apache/logging/slf4j/SLF4JServiceProvider.java

Karthik Prasad created LOG4J2-3163:
--------------------------------------

             Summary: Fix typo in logging-log4j2/log4j-slf4j18-impl/src/main/java/org/apache/logging/slf4j/SLF4JServiceProvider.java 
                 Key: LOG4J2-3163
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3163
             Project: Log4j 2
          Issue Type: Bug
          Components: SLF4J Bridge
    Affects Versions: 2.14.1
            Reporter: Karthik Prasad


There seems to be a typo in the file
logging-log4j2/log4j-slf4j18-impl/src/main/java/org/apache/logging/slf4j/SLF4JServiceProvider.java on line 47. (https://github.com/apache/logging-log4j2/blob/fed5571219552ba221b8325f421f29b96342edf8/log4j-slf4j18-impl/src/main/java/org/apache/logging/slf4j/SLF4JServiceProvider.java#L47) 

Instead of being [getRequestedApiVersion|https://github.com/qos-ch/slf4j/blob/cf09b2e34de6216c9aa5b8ba5e7e5db3d5a4da27/slf4j-api/src/main/java/org/slf4j/spi/SLF4JServiceProvider.java#L42] , it is getRequest*e*ApiVersion. Its missing the `d` and so its getRequest*ed*ApiVersion instead.

Possible closes https://issues.apache.org/jira/browse/LOG4J2-3139?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)