You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Pavel_K (Jira)" <ji...@apache.org> on 2022/03/29 10:59:00 UTC
[jira] [Created] (LOG4J2-3451) Custom appenders on module path must be found
Pavel_K created LOG4J2-3451:
-------------------------------
Summary: Custom appenders on module path must be found
Key: LOG4J2-3451
URL: https://issues.apache.org/jira/browse/LOG4J2-3451
Project: Log4j 2
Issue Type: Improvement
Affects Versions: 2.14.1
Reporter: Pavel_K
Currently if custom appender is added via config, something like this:
{code:java}
<Configuration packages="com.yourcompany.yourcustomappenderpackage">
<Appenders>
<MyCustomAppender name="ABC" otherAttribute="...">
...
</Appenders>
<Loggers><Root><AppenderRef ref="ABC" /></Root></Loggers>
</Configuration>
{code}
Log4j2 will find this appender class only if this class is on class path. I suggest that appenders on module path must also be found.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)