[
https://issues.apache.org/jira/browse/LOG4J2-3615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616189#comment-17616189
]
Ralph Goers commented on LOG4J2-3615:
-------------------------------------
I think you might be missing the point. I don't mind DefaultLogBuilder. I do
mind that it is hard-coded to use it. Users should be able to provide their own
implementation and right now they cannot.
> Fix Log4j API OSGI encapsulation problem
> ----------------------------------------
>
> Key: LOG4J2-3615
> URL: https://issues.apache.org/jira/browse/LOG4J2-3615
> Project: Log4j 2
> Issue Type: Bug
> Components: API
> Reporter: Piotr Karwasz
> Priority: Minor
>
> The protected {{AbstractLogger.logBuilder}} field leaks the internal
> {{DefaultLogBuilder}} class into the public API.
> The field was introduced in August 2019, so switching it to private will be a
> breaking change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)