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

Gary Gregory commented on LOG4J2-998:
-------------------------------------

Subclassing can be very brittle. Can please you provide details of what you are 
trying to achieve. There might be a different way about it.

> Make org.apache.logging.log4j.core.Logger#updateConfiguration protected
> -----------------------------------------------------------------------
>
>                 Key: LOG4J2-998
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-998
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 2.1
>            Reporter: Mariano Gonzalez
>
> Hello,
> I'm using log4j2 as the foundation for a centralized logging infrastructure 
> inside an application container. For such requirement, I need to be able to 
> override the org.apache.logging.log4j.core.Logger#updateConfiguration method. 
> However, that method has package visibility and thus cannot be gracefully 
> overriden.
> It'd be great if that method could be protected so that subclasses can 
> redefine it. 
> Thanks



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