[ 
https://issues.apache.org/jira/browse/LOG4J2-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354262#comment-17354262
 ] 

Volkan Yazici commented on LOG4J2-3095:
---------------------------------------

[~kennymacleod.atl], would you mind closing the ticket if the fix addresses 
your issue, please?

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

Reply via email to