Kenny MacLeod created LOG4J2-3095: ------------------------------------- Summary: 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
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)