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)

Reply via email to