GitHub user vy added a comment to the discussion: Custom rewrite appender not 
working  when used like dependency on spring boot app

Project A has a dependency on Project B, which contains a custom appender, that 
you want to use in the `log4j2.xml` of Project A, right?
1. How do you package Project B? Is it just a regular library JAR?
2. How do you _import_ Project B into Project A? As a regular Maven/Gradle 
dependency?
3. You've read [Extending 
appenders](https://logging.apache.org/log4j/2.x/manual/appenders.html#extending)
 and using the 
[PluginProcessor](https://logging.apache.org/log4j/2.x/javadoc/log4j-core/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.html)
 annotation processor while building the Project B, right?

GitHub link: 
https://github.com/apache/logging-log4j2/discussions/3611#discussioncomment-12854522

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org

Reply via email to