lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Tandon <amantandon...@gmail.com>
Subject Re: logging in solr
Date Tue, 19 Aug 2014 21:45:17 GMT
As you are using tomcat you can configure the log file name, folder,etc. by
configuring the server.xml present in the Conf directory of tomcat.
On Aug 19, 2014 4:17 AM, "Shawn Heisey" <solr@elyograg.org> wrote:

> On 8/18/2014 2:43 PM, M, Arjun (NSN - IN/Bangalore) wrote:
> >         Currently in my component Solr is logging to catalina.out. What
> is the configuration needed to redirect those logs to some custom logfile
> eg: Solr.log.
>
> Solr uses the slf4j library for logging.  Simply change your program to
> use slf4j, and very likely the logs will go to the same place the Solr
> logs do.
>
> http://www.slf4j.org/manual.html
>
> See also the wiki page on logging jars and Solr:
>
> http://wiki.apache.org/solr/SolrLogging
>
> Thanks,
> Shawn
>
>

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