You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Nicholas Ding <ni...@gmail.com> on 2012/08/27 16:43:03 UTC

Configure logging with Solr 4 on Tomcat 7

Hello,

I've deployed Solr 4 on Tomcat 7, it is a multicore configuration,
everything seems work fine, but I can't see any logs. How do I enable
logging?

Thanks
Nicholas

Re: Configure logging with Solr 4 on Tomcat 7

Posted by Nicholas Ding <ni...@gmail.com>.
Thank you guys.

I've managed to configure log4j with Solr. I put log4j.properties into
WEB-INF/classes, and only keep *slf4j-log4j12-1.6.6.jar,
jcl-over-slf4j-1.6.4.jar, log4j-1.2.17.jar *in the WEB-INF/lib, eventually,
that works.

On Wed, Aug 29, 2012 at 9:08 PM, Erick Erickson <er...@gmail.com>wrote:

> Have you looked in catalina.out?
>
> Best
> Erick
>
> On Mon, Aug 27, 2012 at 12:43 PM, Nicholas Ding <ni...@gmail.com>
> wrote:
> > I put a logging.properties into solr/WEB-INF/classes, but I still not see
> > any logs.
> >
> > On Mon, Aug 27, 2012 at 11:56 AM, Chantal Ackermann <
> > c.ackermann@it-agenten.com> wrote:
> >
> >>
> >> Drop the logging.properties file into the solr.war at WEB-INF/classes .
> >>
> >> See here:
> >> http://lucidworks.lucidimagination.com/display/solr/Configuring+Logging
> >> Section "Tomcat Logging Settings"
> >>
> >> Cheers,
> >> Chantal
> >>
> >> Am 27.08.2012 um 16:43 schrieb Nicholas Ding:
> >>
> >> > Hello,
> >> >
> >> > I've deployed Solr 4 on Tomcat 7, it is a multicore configuration,
> >> > everything seems work fine, but I can't see any logs. How do I enable
> >> > logging?
> >> >
> >> > Thanks
> >> > Nicholas
> >>
> >>
>

Re: Configure logging with Solr 4 on Tomcat 7

Posted by Erick Erickson <er...@gmail.com>.
Have you looked in catalina.out?

Best
Erick

On Mon, Aug 27, 2012 at 12:43 PM, Nicholas Ding <ni...@gmail.com> wrote:
> I put a logging.properties into solr/WEB-INF/classes, but I still not see
> any logs.
>
> On Mon, Aug 27, 2012 at 11:56 AM, Chantal Ackermann <
> c.ackermann@it-agenten.com> wrote:
>
>>
>> Drop the logging.properties file into the solr.war at WEB-INF/classes .
>>
>> See here:
>> http://lucidworks.lucidimagination.com/display/solr/Configuring+Logging
>> Section "Tomcat Logging Settings"
>>
>> Cheers,
>> Chantal
>>
>> Am 27.08.2012 um 16:43 schrieb Nicholas Ding:
>>
>> > Hello,
>> >
>> > I've deployed Solr 4 on Tomcat 7, it is a multicore configuration,
>> > everything seems work fine, but I can't see any logs. How do I enable
>> > logging?
>> >
>> > Thanks
>> > Nicholas
>>
>>

Re: Configure logging with Solr 4 on Tomcat 7

Posted by Nicholas Ding <ni...@gmail.com>.
I put a logging.properties into solr/WEB-INF/classes, but I still not see
any logs.

On Mon, Aug 27, 2012 at 11:56 AM, Chantal Ackermann <
c.ackermann@it-agenten.com> wrote:

>
> Drop the logging.properties file into the solr.war at WEB-INF/classes .
>
> See here:
> http://lucidworks.lucidimagination.com/display/solr/Configuring+Logging
> Section "Tomcat Logging Settings"
>
> Cheers,
> Chantal
>
> Am 27.08.2012 um 16:43 schrieb Nicholas Ding:
>
> > Hello,
> >
> > I've deployed Solr 4 on Tomcat 7, it is a multicore configuration,
> > everything seems work fine, but I can't see any logs. How do I enable
> > logging?
> >
> > Thanks
> > Nicholas
>
>

Re: Configure logging with Solr 4 on Tomcat 7

Posted by Chantal Ackermann <c....@it-agenten.com>.
Drop the logging.properties file into the solr.war at WEB-INF/classes .

See here: http://lucidworks.lucidimagination.com/display/solr/Configuring+Logging
Section "Tomcat Logging Settings"

Cheers,
Chantal

Am 27.08.2012 um 16:43 schrieb Nicholas Ding:

> Hello,
> 
> I've deployed Solr 4 on Tomcat 7, it is a multicore configuration,
> everything seems work fine, but I can't see any logs. How do I enable
> logging?
> 
> Thanks
> Nicholas