Hi, JB the appender was not that complex until I found the right maven plugin to extract the appender dat.
But I think there is a bug in the karaf custom distribution plugin. When I add a feature to the startup features it's also added to the Boot features. The are condition which then causes a bundle restart on the log bundles which is a bit annoying. Br Matthias Jean-Baptiste Onofré <[email protected]> schrieb am Do., 30. Mai 2024, 13:27: > Hi Matthias > > Ha ok, sorry, I misread. I think we can add an example in the > karaf-log-example module. > > Regards > JB > > On Tue, May 28, 2024 at 12:12 PM Matthias Leinweber > <[email protected]> wrote: > > > > Hi JB, > > > > we were talking about log4j2 Appender not PaxAppender. Anyway I think > there is a bug in the custom distribution maven plugin. Startup features > should not be added to the boot feature list. > > > > br, > > Matthias > > > > On Sat, 25 May 2024 at 08:09, Jean-Baptiste Onofré <[email protected]> > wrote: > >> > >> 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 > >> <[email protected]> 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 > > > > > > > > >
