My current application has a "log panel" where certain messages are posted.
We are converting this application to use log4j2.
What is a good way to route an appender to an in memory list of messages in
the application?

* Construct an appender programmatically passing the java list to the
* Construct an appender based on either OutputStreamAppender or
MemoryMappedFileAppender, and access its manager programmatically

On a related note---
Is it possible to programmatically access an appender by name without first
going through a logger?

Reply via email to