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 Marc Sturlese <ma...@gmail.com> on 2009/01/14 12:39:08 UTC
place log4j.properties
Hey there,
I have changed the log system in the nightly build to log4j following this
comment:
http://wiki.apache.org/solr/SolrLogging
Everything is loaded correclty but I am geting this INFO:
log4j:WARN No appenders could be found for logger
(org.apache.solr.servlet.SolrDispatchFilter).
log4j:WARN Please initialize the log4j system properly.
I think the problem is that the wepapp is not finding the log4j.properties.
I have tryed placing it in the firs class level:
./WEB-INF/classes/org/apache/solr/servlet/
But doesn't seem to recognize it... Any advice?
Thanks in advance
--
View this message in context: http://www.nabble.com/place-log4j.properties-tp21454379p21454379.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: place log4j.properties
Posted by Marc Sturlese <ma...@gmail.com>.
>Have you tried placing it up in /WEB-INF/classes/?
It worked, I was trying to put set it in
/WEB-INF/classes/org/apache/solr/servlet wich was wrong
Thanks!
Matthew Runo wrote:
>
> Have you tried placing it up in /WEB-INF/classes/? I'd think that'd be
> the root of the classpath for solr, and maybe where it's looking for
> the file?
>
> If you figure it out, could you update the wiki?
>
> --Matthew
>
> On Jan 14, 2009, at 3:39 AM, Marc Sturlese wrote:
>
>>
>> Hey there,
>> I have changed the log system in the nightly build to log4j
>> following this
>> comment:
>>
>> http://wiki.apache.org/solr/SolrLogging
>>
>> Everything is loaded correclty but I am geting this INFO:
>>
>> log4j:WARN No appenders could be found for logger
>> (org.apache.solr.servlet.SolrDispatchFilter).
>> log4j:WARN Please initialize the log4j system properly.
>>
>> I think the problem is that the wepapp is not finding the
>> log4j.properties.
>> I have tryed placing it in the firs class level:
>> ./WEB-INF/classes/org/apache/solr/servlet/
>>
>> But doesn't seem to recognize it... Any advice?
>>
>> Thanks in advance
>>
>> --
>> View this message in context:
>> http://www.nabble.com/place-log4j.properties-tp21454379p21454379.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>
>
>
--
View this message in context: http://www.nabble.com/Re%3A-place-log4j.properties-tp21482994p21487883.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: place log4j.properties
Posted by Matthew Runo <mr...@zappos.com>.
Have you tried placing it up in /WEB-INF/classes/? I'd think that'd be
the root of the classpath for solr, and maybe where it's looking for
the file?
If you figure it out, could you update the wiki?
--Matthew
On Jan 14, 2009, at 3:39 AM, Marc Sturlese wrote:
>
> Hey there,
> I have changed the log system in the nightly build to log4j
> following this
> comment:
>
> http://wiki.apache.org/solr/SolrLogging
>
> Everything is loaded correclty but I am geting this INFO:
>
> log4j:WARN No appenders could be found for logger
> (org.apache.solr.servlet.SolrDispatchFilter).
> log4j:WARN Please initialize the log4j system properly.
>
> I think the problem is that the wepapp is not finding the
> log4j.properties.
> I have tryed placing it in the firs class level:
> ./WEB-INF/classes/org/apache/solr/servlet/
>
> But doesn't seem to recognize it... Any advice?
>
> Thanks in advance
>
> --
> View this message in context: http://www.nabble.com/place-log4j.properties-tp21454379p21454379.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>