Hello
For log4j, there's
https://github.com/ops4j/org.ops4j.pax.logging/blob/master/pax-logging-log4j2/src/main/java/org/ops4j/pax/logging/log4j2/appender/PaxOsgiAppender.java
that does just that - uses in-memory buffer. It's registered as log4j
plugin.
I would so similar thing - register an
2017-10-02 6:43 GMT+02:00 Asma Zinneera Jabir :
>
> The way I have configured Log4j2 is through the following entry in
> pax-logging.properties.
>
> org.ops4j.pax.logging.log4j2.config.file=path/to/log4j2.properties
>
You can configure the properties directly in the