Ok, it doesn't seem so complicated.. Anyway, my java skills are a bit outdated. Working with private-package looks good in the first place. But how do I get the Log4j2Plugins.dat out of the original jar into my bundle?
On Fri, 17 May 2024 at 16:55, Grzegorz Grzybek <gr.grzy...@gmail.com> wrote: > Hello > > You can find a sample fragment here: > https://github.com/ops4j/org.ops4j.pax.logging/tree/main/pax-logging-samples/fragment-log4j2 > That's all there is ;( > > regards > Grzegorz Grzybek > > pt., 17 maj 2024 o 16:26 Matthias Leinweber <m.leinwe...@datatactics.de> > napisaĆ(a): > >> 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 >> >