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

Remko Popma commented on LOG4J2-1547:
-------------------------------------

I agree with Matt that we should try to make this backwards compatible. 

How about keeping the old constructors and accepting null?  
Configuration::getLoggerContext may also return null, so sites that call this 
method need some additional defensive coding.  

> The Core AbstractConfiguration should track its LoggerContext and add 
> Configuration.getLoggerContext()
> ------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-1547
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1547
>             Project: Log4j 2
>          Issue Type: New Feature
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>         Attachments: logging-log4j2.patch
>
>
> The class in Core, {{AbstractConfiguration}}, should track its 
> {{LoggerContext}} and provide it with a new API 
> {{Configuration.getLoggerContext()}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to