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" <s...@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 > >