This may be the way log4j2 configuration works.  I don't think Karaf is
involved directly here, but it may be possible to trim the properties in
pax-logging before handing them to log4j.

2017-03-08 23:51 GMT+01:00 Fabian Lange <fabian.la...@codecentric.de>:

> Hi,
>
> when you download the karaf distribution,
> then change this log line:
>
> log4j2.rootLogger.level = INFO
>
> so that it ends with a trailing whitespace
>
> then karaf will not log when you start it.
>
> Is that a pax-logging or a karaf bug?
>
> With 4.0.x trailing whitspace was trimmed.
>
> Fabian
> --
> Fabian Lange | Performance Expert
> mobil: +49 (0) 160.3673393
>
> codecentric AG | Hochstraße 11 | 42697 Solingen | Deutschland
>
> Sitz der Gesellschaft: Solingen | HRB 25917| Amtsgericht Wuppertal
> Vorstand: Michael Hochgürtel . Mirko Novakovic . Rainer Vehns
> Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Klaus Jäger . Jürgen Schütz
>



-- 
------------------------
Guillaume Nodet

Reply via email to