[
https://issues.apache.org/jira/browse/LOG4J2-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13764601#comment-13764601
]
Roland Weiglhofer commented on LOG4J2-389:
------------------------------------------
After I've spent several days to integrate Log4j2 in an OSGi container, I now
pull the emergency brake. Log4j2 and OSGi just do not fit together. Log4j2 has
too many dependencies, has dependencies to javax, misses very important
dependencies to slf4j and commons.logging, starts very slow and is greater than
my own application (including dependencies).
I add patch what I did today, maybe someone has more time to go ahead.
> lightweight version without database and http stuff
> ---------------------------------------------------
>
> Key: LOG4J2-389
> URL: https://issues.apache.org/jira/browse/LOG4J2-389
> Project: Log4j 2
> Issue Type: Improvement
> Components: API, Core
> Affects Versions: 2.0-beta9
> Environment: Maven
> Reporter: Roland Weiglhofer
> Labels: Maven, dependencies, optional
> Attachments: Log4j2_osgi_opt_dep.patch
>
>
> Required is a lightweight version without database and http stuff, so I do
> not need to install libraries, which I do not need. All the (transitiv)
> log4j2-dependencies together are much bigger than my own application. This is
> a realy big drawback of log4j2! log4j-core-osgi-reduced depends on log4j-core
> and thus, on all transitiv dependencies, although they are declared as
> "optional".
> Thanks & Regards
> Roland
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]