Re: logging support in Lucene code

2017-07-31 Thread Nawab Zada Asad Iqbal
Thanks Shawn for the detailed context. I saw some Logger (java.util.logging) in one class in lucene folder, hence I thought that logging is now properly supported. Since, i am using solr (and indirectly lucene), I will use whatever solr is using. Not depending on any concrete logger is good for

Re: logging support in Lucene code

2017-07-31 Thread Nawab Zada Asad Iqbal
Thanks Shalin I actually had that config true, so it seems that I may not be exercising the right scenario to execute that logline. On Fri, Jul 28, 2017 at 1:47 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > Lucene does not use a logger framework. But if you are using Solr then you

Re: logging support in Lucene code

2017-07-28 Thread Shawn Heisey
On 7/27/2017 10:57 AM, Nawab Zada Asad Iqbal wrote: > I see a lot of discussion on this topic from almost 10 years ago: e.g., > https://issues.apache.org/jira/browse/LUCENE-1482 > > For 4.5, I relied on 'System.out.println' for writing information for > debugging in production. > > In 6.6, I

Re: logging support in Lucene code

2017-07-28 Thread Shalin Shekhar Mangar
Lucene does not use a logger framework. But if you are using Solr then you can route the infoStream logging to Solr's log files by setting an option in the solrconfig.xml. See http://lucene.apache.org/solr/guide/6_6/indexconfig-in-solrconfig.html#IndexConfiginSolrConfig-OtherIndexingSettings On

Re: logging support in Lucene code

2017-07-27 Thread Nawab Zada Asad Iqbal
Any doughnut for me ? Regards Nawab On Thu, Jul 27, 2017 at 9:57 AM Nawab Zada Asad Iqbal wrote: > Hi, > > I see a lot of discussion on this topic from almost 10 years ago: e.g., > https://issues.apache.org/jira/browse/LUCENE-1482 > > For 4.5, I relied on

logging support in Lucene code

2017-07-27 Thread Nawab Zada Asad Iqbal
Hi, I see a lot of discussion on this topic from almost 10 years ago: e.g., https://issues.apache.org/jira/browse/LUCENE-1482 For 4.5, I relied on 'System.out.println' for writing information for debugging in production. In 6.6, I notice that some classes in Lucene are instantiating a Logger,