For the record, we also have a example in Karaf directly:
https://github.com/apache/karaf/tree/main/examples/karaf-log-appender-example

Regards
JB

On Fri, May 17, 2024 at 4:26 PM Matthias Leinweber
<m.leinwe...@datatactics.de> wrote:
>
> Hello Karaf Team,
>
> is it possible to directly add a custom log4j2 appender via wrap protocol?
>
> I added log4j2.packages = pl.tkowalcz.tjahzi.log4j2 to 
> org.ops4j.pax.logging.cfg but i get ERROR : Unable to locate plugin for Loki
>
> I fear that i have to build a fragment bundle for pax logging .. if yes where 
> can i find some doc?
>
> br.
> Matthias

Reply via email to