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 "Mikael Ståldal (JIRA)" <ji...@apache.org> on 2016/10/24 15:43:58 UTC

[jira] [Commented] (LOG4J2-1650) log4j2-core diet

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

Mikael Ståldal commented on LOG4J2-1650:
----------------------------------------

We should also try to get rid of all the optional dependencies of log4j-core. I don't like optional dependencies since the user needs to manually keep track of which transitive runtime dependencies to use, efficiently negating the advantage of using Maven (or Ivy, Gradle, SBT) in the first place.

While splitting up log4j-core, I would like to move out everything that have transitive dependencies to their own modules, and make those dependencies non-optional in those new modules.


> log4j2-core diet
> ----------------
>
>                 Key: LOG4J2-1650
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1650
>             Project: Log4j 2
>          Issue Type: Improvement
>            Reporter: Romain Manni-Bucau
>
> Hello,
> log4j2 is ~1.3M. It is a lot to get started with logging and several parts are not mandatory to start and rarely needed all together like jackson, db, yaml (this one is not that big) etc...Also saw Generate class which is quite big but not sure it is needed at runtime and the annotation processor logic is never needed at runtime.
> Anyway, by comparison logback and log4j1 are ~500k so hopefully we could only pay the same price to get started with log4j2.



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