karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@apache.org>
Subject Re: Karaf no longer logs when log line has trailing whitespace
Date Thu, 09 Mar 2017 07:07:25 GMT
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.lange@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message