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
>

Reply via email to