[
https://issues.apache.org/jira/browse/LOG4J2-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16544574#comment-16544574
]
Romain Manni-Bucau commented on LOG4J2-1650:
--------------------------------------------
The proposal was to keep only implemented interfaces in the API and only main
implementations dependencyless in core (i assume the default synchronous
rolling file appender is the max which can fit here). Anything else is
extension.
The size is critical cause logging is everywhere and libraries/servers cant
impose 25% of their size for logging with 80% of it being not used in 90% of
the deployments. It impacts build times, packaging, dockerization and therefore
network time at the end so yes it is important.
> 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
> Priority: Major
>
> 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
(v7.6.3#76005)