[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to