You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Baris Kazar <ba...@oracle.com> on 2021/12/15 21:41:37 UTC

Log4j

Hi Folks,-
 Lucene is not affected by the latest bug, right?
I saw on Solr News page there are some fixes already made to Solr.
Best regards

Re: Log4j

Posted by Baris Kazar <ba...@oracle.com>.
Ok these are good to know.
thanks
________________________________
From: Uwe Schindler <uw...@thetaphi.de>
Sent: Wednesday, December 15, 2021 5:18 PM
To: java-user@lucene.apache.org <ja...@lucene.apache.org>; Ali Akhtar <al...@ali.actor>
Cc: Baris Kazar <ba...@oracle.com>
Subject: Re: Log4j

Hi,

It only has an abstract logging interface inside IndexWriter to track actions done during indexing. But implementation of that is up to the application. By default you can only redirect to a file or stdout, if needed.

All other Apis log nothing.

Uwe

Am 15. Dezember 2021 21:58:59 UTC schrieb Ali Akhtar <al...@ali.actor>:

Does Lucene not have any internal logging at all, e.g for debugging?

On Thu, Dec 16, 2021 at 2:49 AM Uwe Schindler <uw...@thetaphi.de> wrote:

 Hi,

 Lucene is an API and does not log with log4j.

 Only the user interface Luke uses log4j, but this one does not do any
 networking. So unless user of Luke enters jndi expressions nothing can
 happen. 😂

 Uwe

 Am 15. Dezember 2021 21:41:37 UTC schrieb Baris Kazar <
 baris.kazar@oracle.com>:
Hi Folks,-
 Lucene is not affected by the latest bug, right?
I saw on Solr News page there are some fixes already made to Solr.
Best regards

 --
 Uwe Schindler
 Achterdiek 19, 28357 Bremen
 https://www.thetaphi.de<https://urldefense.com/v3/__https://www.thetaphi.de__;!!ACWV5N9M2RV99hQ!Z3USh4shs6MbQE8ngi7x0l2sCSvfwLjnJx79W_2yhfpmPe6l9VE6tRzFUxMt9BDroA$>

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de<https://urldefense.com/v3/__https://www.thetaphi.de__;!!ACWV5N9M2RV99hQ!Z3USh4shs6MbQE8ngi7x0l2sCSvfwLjnJx79W_2yhfpmPe6l9VE6tRzFUxMt9BDroA$>

Re: Log4j

Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,

It only has an abstract logging interface inside IndexWriter to track actions done during indexing. But implementation of that is up to the application. By default you can only redirect to a file or stdout, if needed.

All other Apis log nothing.

Uwe

Am 15. Dezember 2021 21:58:59 UTC schrieb Ali Akhtar <al...@ali.actor>:
>Does Lucene not have any internal logging at all, e.g for debugging?
>
>On Thu, Dec 16, 2021 at 2:49 AM Uwe Schindler <uw...@thetaphi.de> wrote:
>
>> Hi,
>>
>> Lucene is an API and does not log with log4j.
>>
>> Only the user interface Luke uses log4j, but this one does not do any
>> networking. So unless user of Luke enters jndi expressions nothing can
>> happen. 😂
>>
>> Uwe
>>
>> Am 15. Dezember 2021 21:41:37 UTC schrieb Baris Kazar <
>> baris.kazar@oracle.com>:
>> >Hi Folks,-
>> > Lucene is not affected by the latest bug, right?
>> >I saw on Solr News page there are some fixes already made to Solr.
>> >Best regards
>>
>> --
>> Uwe Schindler
>> Achterdiek 19, 28357 Bremen
>> https://www.thetaphi.de

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de

Re: Log4j

Posted by Ali Akhtar <al...@ali.actor>.
Does Lucene not have any internal logging at all, e.g for debugging?

On Thu, Dec 16, 2021 at 2:49 AM Uwe Schindler <uw...@thetaphi.de> wrote:

> Hi,
>
> Lucene is an API and does not log with log4j.
>
> Only the user interface Luke uses log4j, but this one does not do any
> networking. So unless user of Luke enters jndi expressions nothing can
> happen. 😂
>
> Uwe
>
> Am 15. Dezember 2021 21:41:37 UTC schrieb Baris Kazar <
> baris.kazar@oracle.com>:
> >Hi Folks,-
> > Lucene is not affected by the latest bug, right?
> >I saw on Solr News page there are some fixes already made to Solr.
> >Best regards
>
> --
> Uwe Schindler
> Achterdiek 19, 28357 Bremen
> https://www.thetaphi.de

Re: Log4j

Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,

Lucene is an API and does not log with log4j.

Only the user interface Luke uses log4j, but this one does not do any networking. So unless user of Luke enters jndi expressions nothing can happen. 😂

Uwe

Am 15. Dezember 2021 21:41:37 UTC schrieb Baris Kazar <ba...@oracle.com>:
>Hi Folks,-
> Lucene is not affected by the latest bug, right?
>I saw on Solr News page there are some fixes already made to Solr.
>Best regards

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de