[ 
https://issues.apache.org/jira/browse/LOG4J2-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary D. Gregory reassigned LOG4J2-3095:
---------------------------------------

    Assignee: Gary D. Gregory

> 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
>
> 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)

Reply via email to