[ https://issues.apache.org/jira/browse/LOG4J2-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved LOG4J2-3095. ------------------------------------- Fix Version/s: 2.15.0 3.0.0 Resolution: Fixed > Category.setLevel should accept null value > ------------------------------------------ > > Key: LOG4J2-3095 > URL: https://issues.apache.org/jira/browse/LOG4J2-3095 > Project: Log4j 2 > Issue Type: Bug > Components: log4j 1.2 emulation > Affects Versions: 2.14.1 > Reporter: Kenny MacLeod > Assignee: Gary D. Gregory > Priority: Major > Fix For: 3.0.0, 2.15.0 > > > In log4j 1.2, the {{setLevel}} method of the {{Category}} class can accept a > null value, in which case the Category will revert to inheriting the level > from the hierarchy. > In log4j2's emulation, however, {{Category.setLevel(null)}} will result in a > {{NullPointerException}} -- This message was sent by Atlassian Jira (v8.3.4#803005)