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 Jon Drukman <jd...@gmail.com> on 2009/01/29 19:25:49 UTC

permanently setting log level?

if i go to /solr/admin/logging, i can set the "root" log level to 
WARNING, which is what i want.  however, every time solr restarts, it is 
set back to INFO.  Is there a way to get the WARNING level to stick 
permanently?

-jsd-


Re: permanently setting log level?

Posted by Vannia Rajan <kv...@gmail.com>.
>
> i'm not using tomcat, i'm using the default jetty setup that comes with
> solr.  i grepped through the entire solr installation for 'INFO' but i don't
> see it.
>
> i don't really know anything about jetty other than i have to run java -jar
> start.jar to get it to run solr.
>
>
If you are not using tomcat, then you must find your solution here:
http://wiki.apache.org/solr/LoggingInDefaultJettySetup

-- 
With Regards,
K.Vanniarajan

Re: permanently setting log level?

Posted by Jon Drukman <jd...@gmail.com>.
Vannia Rajan wrote:
> On Thu, Jan 29, 2009 at 11:55 PM, Jon Drukman <jd...@gmail.com> wrote:
> 
>> if i go to /solr/admin/logging, i can set the "root" log level to WARNING,
>> which is what i want.  however, every time solr restarts, it is set back to
>> INFO.  Is there a way to get the WARNING level to stick permanently?
>>
>>
> Hi,
> You can set permanent logging-level by changing parameters in
> $CATALINA_HOME/conf/logging.properties
> 
> Change all INFO to WARNING in the logging.properties
> 
> where, $CATALINA_HOME is the path of your apache-tomcat.
> 

i'm not using tomcat, i'm using the default jetty setup that comes with 
solr.  i grepped through the entire solr installation for 'INFO' but i 
don't see it.

i don't really know anything about jetty other than i have to run java 
-jar start.jar to get it to run solr.


Re: permanently setting log level?

Posted by Vannia Rajan <kv...@gmail.com>.
On Thu, Jan 29, 2009 at 11:55 PM, Jon Drukman <jd...@gmail.com> wrote:

> if i go to /solr/admin/logging, i can set the "root" log level to WARNING,
> which is what i want.  however, every time solr restarts, it is set back to
> INFO.  Is there a way to get the WARNING level to stick permanently?
>
>
Hi,
You can set permanent logging-level by changing parameters in
$CATALINA_HOME/conf/logging.properties

Change all INFO to WARNING in the logging.properties

where, $CATALINA_HOME is the path of your apache-tomcat.

-- 
With Regards,
K.Vanniarajan