Re[7]: Where are the log files...

2007-06-15 Thread Jack L
Hello Brian, Your suggestion works. Now I'm able to log solr output to a file. I haven't figured out how to enable Jetty logging in solr 1.2, though. But solr logs just fine. -- Best regards, Jack Friday, June 15, 2007, 1:38:13 PM, you wrote: > ...all you have to do is create a logging.proper

Re[6]: Where are the log files...

2007-06-15 Thread Chris Hostetter
: Yes, I do see the logs printed to the console. Since it's a unix : box, I then close the terminal after starting up solr. When a problem : happens, such as that solr no longer responds, I hope to be able to : to check the log files to see what happened. ah ... okay, i understand where you are c

Re[6]: Where are the log files...

2007-06-15 Thread Jack L
Hello Chris, Yes, I do see the logs printed to the console. Since it's a unix box, I then close the terminal after starting up solr. When a problem happens, such as that solr no longer responds, I hope to be able to to check the log files to see what happened. It's probably a Java logger setting

Re[5]: Where are the log files...

2007-06-15 Thread Chris Hostetter
: Also, the jetty log only logs web server activities, not solr : activities. Is there a way to configure solr to log to a file? Solr logs LogRecords to a Java Logging Logger -- the servlet container controls where those LogRecords go. I'm really not sure how you are running Jety, but when i go

Re: Re[5]: Where are the log files...

2007-06-15 Thread Brian Whitman
On Jun 15, 2007, at 4:35 PM, Jack L wrote: Is there a way to configure solr to log to a file? ...all you have to do is create a logging.properties file and call this before starting up solr: System.setProperty("java.util.logging.config.file", home+"/conf/ logging.properties"); (you c

Re[5]: Where are the log files...

2007-06-15 Thread Jack L
Hello Chris, With Solr 1.1, after I uncomment the logging portion of jetty.xml, jetty starts to write to log files. But that part of jetty.xml disappears in Solr 1.2, which uses a new version of Jetty. So, I still don't know how to enable Jetty logging in Solr 1.2. (The query log works, not the we

Re[4]: Where are the log files...

2007-06-14 Thread Chris Hostetter
: But I've just notice that in jetty.xml, I have to uncomment some : lines to enable jetty logging. It's commented out by default. : I haven't tried this yet though. the sample instance of Jetty that comes in Solr releases is setup to write Logging messages to stdout. It is not a recomeneded Jet

Re[4]: Where are the log files...

2007-06-14 Thread Jack L
There's no logs there :) But I've just notice that in jetty.xml, I have to uncomment some lines to enable jetty logging. It's commented out by default. I haven't tried this yet though. -- Best regards, Jack Thursday, June 14, 2007, 6:21:42 PM, you wrote: > maybe u will find it in *apache-solr-

Re: Re[2]: Where are the log files...

2007-06-14 Thread James liu
maybe u will find it in *apache-solr-1.2.0\example\logs* and I not use jetty. 2007/6/15, Jack L <[EMAIL PROTECTED]>: Yeah, I'm running 1.1 with jetty. But I didn't find *.log in the whole solr directory. Is jetty putting the log files outside the directory? > what version of solr/container a

Re[2]: Where are the log files...

2007-06-14 Thread Jack L
Yeah, I'm running 1.1 with jetty. But I didn't find *.log in the whole solr directory. Is jetty putting the log files outside the directory? > what version of solr/container are you running? > this sounds similar to what people running solr 1.1 with the jetty > include in that example... > Ja

Re: Where are the log files...

2007-06-14 Thread James liu
if u use jetty, u should see jetty's log. if u use tomcat, u should see tomcat's log. solr is only a program that run with container. 2007/6/15, Ryan McKinley <[EMAIL PROTECTED]>: what version of solr/container are you running? this sounds similar to what people running solr 1.1 with the je

Re: Where are the log files...

2007-06-14 Thread Ryan McKinley
what version of solr/container are you running? this sounds similar to what people running solr 1.1 with the jetty include in that example... Jack L wrote: It happened twice in the past few days that the solr instance stopped responding (the admin page does not load) while the process was st

Where are the log files...

2007-06-14 Thread Jack L
It happened twice in the past few days that the solr instance stopped responding (the admin page does not load) while the process was still running. I'd like to find out what's causing this. I notice that I can change logger level from admin page but I didn't figure out where the log files are. Sea