[
https://issues.apache.org/jira/browse/LOG4J2-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13764561#comment-13764561
]
Roland Weiglhofer edited comment on LOG4J2-389 at 9/11/13 5:56 PM:
-------------------------------------------------------------------
I excluded some appender-class-files like SMTPAppender that I do not need.
Thus, this appender can not be found, which causes a ClasNotFoundException.
Because this happens to the default configuration the exception is lost because
it is catched and logged as a warning; the loglevel in this case is error. How
can I prevent the loading excluded appenders?
Thanks
was (Author: rol):
I exclueded some appender-class-files like SMTPAppender which I do not
need. Thus, this appender can not be found, which causes a
ClasNotFoundException. Because this happens to the default configuration the
exception is lost because it is catched and logged as a warning; the loglevel
in this case is error. How can I prevent the loading excluded appenders?
Thanks
> 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
>
> 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]