You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/05/17 17:32:12 UTC

[jira] [Commented] (LOG4J2-1389) Jackson Layout classes private

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

Gary Gregory commented on LOG4J2-1389:
--------------------------------------

Classes are private to make life easier on all of us in the sense that you can't create a dependency on an internal class that can change WRT to source and binary compatibility (BC).

We strive to guarantee 100% BC for the log4j-api module. We do not have the same level guarantee for the log4j-core module. We do try to keep things stable of course but we do want the flexibility to change code as we best see fit. The classes you mention are definitively implementation details of Log4j.



> Jackson Layout classes private
> ------------------------------
>
>                 Key: LOG4J2-1389
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1389
>             Project: Log4j 2
>          Issue Type: Question
>          Components: Layouts
>    Affects Versions: 2.5
>            Reporter: Roland Jungnickel
>            Priority: Minor
>
> I was wondering why the Jackson Layout classes like  https://github.com/apache/logging-log4j2/blob/master/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/JacksonFactory.java or https://github.com/apache/logging-log4j2/blob/master/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/AbstractJacksonLayout.java are private. This makes extending them in other projects very hard.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org