Re: logging in solr

2014-08-20 Thread Umesh Prasad
Or you could use system properties to control that. For example if you are using logbak, then JAVA_OPTS="$JAVA_OPTS -Dlogback.configurationFile=$CATALINA_BASE/conf/logback.xml" will do it On 20 August 2014 03:15, Aman Tandon wrote: > As you are using tomcat you can configure the log file na

Re: logging in solr

2014-08-19 Thread Aman Tandon
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" wrote: > On 8/18/2014 2:43 PM, M, Arjun (NSN - IN/Bangalore) wrote: > > Currently in my component Solr is

Re: logging in solr

2014-08-18 Thread Shawn Heisey
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

Re: logging in solr

2014-08-18 Thread Aurélien MAZOYER
Sorry, outdated link. And I suppose you use tomcat if you are talking about catalina.out The correct link is : http://wiki.apache.org/solr/SolrLogging#Solr_4.3_and_above Le 18/08/2014 23:06, Aurélien MAZOYER a écrit : Hi, Are you using tomcat or jetty? If you use the default jetty, have

Re: logging in solr

2014-08-18 Thread Aurélien MAZOYER
Hi, Are you using tomcat or jetty? If you use the default jetty, have a look to : http://wiki.apache.org/solr/LoggingInDefaultJettySetup Regards, Aurélien Le 18/08/2014 22:43, M, Arjun (NSN - IN/Bangalore) a écrit : Hi, Currently in my component Solr is logging to catalina.out. W

Re: Logging in Solr.

2008-11-20 Thread Erik Holstad
Ok, thanks Ryan! On Thu, Nov 20, 2008 at 9:03 AM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > > On Nov 20, 2008, at 11:57 AM, Erik Holstad wrote: > > Thanks for the help Ryan! >> Using the start.jar with 1.3 and added the slf4j jar to the classpath. >> When >> > > with 1.3 -- the logging is java.

Re: Logging in Solr.

2008-11-20 Thread Ryan McKinley
On Nov 20, 2008, at 11:57 AM, Erik Holstad wrote: Thanks for the help Ryan! Using the start.jar with 1.3 and added the slf4j jar to the classpath. When with 1.3 -- the logging is java.util.logging -- The slf4j advice only applies to 1.4-dev ryan

Re: Logging in Solr.

2008-11-20 Thread Erik Holstad
Thanks for the help Ryan! Using the start.jar with 1.3 and added the slf4j jar to the classpath. When it comes to the setting up of the log4j I wonder which method is better. To put the redirect to the log server in the Jetty.xml file or to put a log4j.properties file in the web library, and if it'

Re: Logging in Solr.

2008-11-19 Thread Ryan McKinley
the trunk (solr-1.4-dev) is now using SLF4J If you are using the packaged .war, the behavior should be identical to 1.3 -- that is, it uses the java.util.logging implementation. However, if you are using solr.jar, you select what logging framework you actully want to use by including that c

Re: Logging in Solr

2008-01-22 Thread Chris Hostetter
: I'm new to Solr and Tomcat and I'm trying to track down some odd errors. : How do I set up Tomcat to do fine-grained Solr-specific logging? I have : looked around enough to know that it should be possible to do per-webapp : logging in Tomcat 5.5, but the details are hard to follow for a newbie

RE: Logging in Solr Embedded

2007-08-03 Thread Teruhiko Kurosaka
I think it's best to control log level by an external file; you don't want to reprogram when you need log. Define the system property java.util.logging.config.file to point to your log properties file. I would copy $JAVA_HOME/jre/lib/logging.properties and then add a line: org.apache.solr.level = W

Re: Logging in Solr Embedded

2007-08-02 Thread Yonik Seeley
On 8/1/07, Stu Hood <[EMAIL PROTECTED]> wrote: > I've been using Solr in an embedded situation, and its been working quite > well. But as I've started scaling up the application, the logging that Solr > does to stderr is getting excessive. > > I'd like to disable the INFO messages, and leave the