File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
log4j-1.2-api/src/main/java/org/apache/log4j Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public class Logger extends Category {
3030 */
3131 private static final String FQCN = Logger .class .getName ();
3232
33- public static Logger getLogger (final Class <?> clazz ) {
33+ public static Logger getLogger (@ SuppressWarnings ( "rawtypes" ) final Class clazz ) {
3434 // Depth 2 gets the call site of this method.
3535 return LogManager .getLogger (clazz .getName (), StackLocatorUtil .getCallerClassLoader (2 ));
3636 }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <entry xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xmlns =" https://logging.apache.org/xml/ns"
4+ xsi : schemaLocation =" https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
5+ type =" fixed" >
6+ <issue id =" 3030" link =" https://github.com/apache/logging-log4j2/pull/3030" />
7+ <description format =" asciidoc" >Fix `getLogger()` source incompatibility in Log4j 1 to Log4j 2 API Bridge (i.e., `log4j-1.2-api`)</description >
8+ </entry >
You can’t perform that action at this time.
0 commit comments