Thanks a lot, it was exactly what I need, sorry for not being so clear with
my question :).

Gian Maria.

-----Original Message-----
From: Erick Erickson [mailto:erickerick...@gmail.com] 
Sent: Tuesday, March 19, 2013 3:04 PM
To: solr-user@lucene.apache.org; alkamp...@nablasoft.com
Subject: Re: Logging inside a custom analyzer

what do you mean " log information into solar from a custom analyzer"? Have
info go from your custom analyzer into the Solr log? In which case, just do
something
like:
private static final Logger log =
LoggerFactory.getLogger(YourPrivateClass.class.getName());

and then in your code something like
log.info("your message here");

Best
Erick


On Tue, Mar 19, 2013 at 1:32 AM, Gian Maria Ricci
<alkamp...@nablasoft.com>wrote:

> Hi to everyone,
>
>
>
> What is the best way to log information into solar from a custom analyzer?
> Is there any way to integrate log4j or is it better to use some solr 
> logging method?
>
>
>
> Thanks again for your invaluable help
>
>
>
> Gian Maria
>
>
>
>
>
>

Reply via email to