RE: Solr Logging

2008-05-05 Thread Will Johnson
A little late to the email party but... [ ] Keep solr logging as is. (JUL) [ X ] Convert solr logging to SLF4J And SOLR-560 looks good too. - will

Re: Solr Logging

2008-05-05 Thread Chris Hostetter
: In an effort to put this thread to rest with some sense of closure, perhaps we yeah, right ... like that will ever happen :) : [XX ] Keep solr logging as is. (JUL) : [ ] Convert solr logging to SLF4J -Hoss

Re: Solr Logging

2008-05-05 Thread Chris Hostetter
: Yes, but why ship any libraries w/ Solr then? We should write HTTPClient for : ourselves, as well as all the other dependencies. Class loader hell is at the : very heart of Java and is just something we all deal with unless we go to OSGi : (I'm told, anyway, but I don't know enough about it) or

Re: Solr Logging

2008-05-05 Thread David Smiley @MITRE.org
that easier third party logging abstractin is a feature, but i disagree, and am willing to ignore that issue, but i mention it for completeness since I (and Erik) have brought it up before) -Hoss -- View this message in context: http://www.nabble.com/Solr-Logging-tp16836646p17068918.html

Re: Solr Logging

2008-05-05 Thread Chris Hostetter
: Actually, Solr depends on Lucene :-) Okay ... I must admit ... this is funnier then Ryan's i prefer kittens comment. yes, i suppose we have a core dependency on Lucene which could in theory result in an incompatibility. That ship has sailed. : SLF4J doesn't have a LogMessage to propagate

Re: Solr Logging

2008-05-04 Thread Grant Ingersoll
On May 3, 2008, at 4:22 PM, Ryan McKinley wrote: If a large subset of the community is in favor of moving away from JUL towards some alternative (and I'm not sure that's true), Perhaps we should take a poll on solr-user? On the dev list, I there are a few strong opinions, but I

Re: Solr Logging

2008-05-03 Thread Chris Hostetter
FYI: I'm going to commit a minor list taboo and comment in a thread I'm not caught up on -- I wrote this on the plane based on some thoughts I had last night and this morning, and even though i don't have time to catch up with this thread, I wanted to put this information out there since i

Re: Solr Logging

2008-05-03 Thread Thomas Peuss
[ ] Keep solr logging as is. (JUL) [ X ] Convert solr logging to SLF4J

Re: Solr Logging

2008-05-03 Thread Ryan McKinley
If a large subset of the community is in favor of moving away from JUL towards some alternative (and I'm not sure that's true), Perhaps we should take a poll on solr-user? On the dev list, I there are a few strong opinions, but I suspect most people don't really care (as long as it

Re: Solr Logging

2008-05-02 Thread Grant Ingersoll
Yes, but why ship any libraries w/ Solr then? We should write HTTPClient for ourselves, as well as all the other dependencies. Class loader hell is at the very heart of Java and is just something we all deal with unless we go to OSGi (I'm told, anyway, but I don't know enough about it) or

Re: Solr Logging

2008-05-02 Thread Ryan McKinley
[ ] Keep solr logging as is. (JUL) [X] Convert solr logging to SLF4J

Re: Solr Logging

2008-05-02 Thread Ryan McKinley
In an effort to put this thread to rest with some sense of closure, perhaps we could take a poll of our options: [ ] Keep solr logging as is. (JUL) [ ] Convert solr logging to SLF4J I think the arguments for each option are: JUL: + it is standard and *should* work everywhere

Re: Solr Logging

2008-05-02 Thread Grant Ingersoll
On May 2, 2008, at 1:14 PM, Ryan McKinley wrote: [ x ] Convert solr logging to SLF4J It won't be the end of it, though, as you have pointed out, the issue comes up every few weeks/months...

Re: Solr Logging

2008-05-02 Thread Mike Klaas
On 2-May-08, at 10:14 AM, Ryan McKinley wrote: [ ] Keep solr logging as is. (JUL) [ ] Convert solr logging to SLF4J [ X ] Abstain I am not at all part of the java-enterprise-y world, and though as an outsider it strikes me as odd that that logging implementation in the language's

Re: Solr Logging

2008-05-02 Thread Mike Klaas
On 2-May-08, at 11:50 AM, Mike Klaas wrote: On 2-May-08, at 10:14 AM, Ryan McKinley wrote: [ ] Keep solr logging as is. (JUL) [ ] Convert solr logging to SLF4J [ X ] Abstain I am not at all part of the java-enterprise-y world, and though as an outsider it strikes me as odd

Re: Solr Logging

2008-05-02 Thread Henrib
[ ] Keep solr logging as is. (JUL) [X] Convert solr logging to SLF4J -- View this message in context: http://www.nabble.com/Solr-Logging-tp16836646p17027714.html Sent from the Solr - Dev mailing list archive at Nabble.com.

Re: Solr Logging

2008-05-02 Thread David Smiley @MITRE.org
[ ] Keep solr logging as is. (JUL) [X] Convert solr logging to SLF4J -- View this message in context: http://www.nabble.com/Solr-Logging-tp16836646p17028119.html Sent from the Solr - Dev mailing list archive at Nabble.com.

Re: Solr Logging

2008-05-02 Thread David Smiley @MITRE.org
implementation is still up to the end user running Solr in their servlet container. -Hoss -- Regards, Shalin Shekhar Mangar. -- View this message in context: http://www.nabble.com/Solr-Logging-tp16836646p17028232.html Sent from the Solr - Dev mailing list archive at Nabble.com.

Re: Solr Logging

2008-05-01 Thread Chris Hostetter
It's not just a question of API compatibility, it's a question of *class* compatibility (ie: byte code) Even if the public APIs are consistent, it's very easy to get into classloader hell when a webapp has one version of a class loaded (even if it's a private class) while the servlet

Re: Solr Logging

2008-04-30 Thread Henrib
proxy (look at the code). -- View this message in context: http://www.nabble.com/Solr-Logging-tp16836646p16986393.html Sent from the Solr - Dev mailing list archive at Nabble.com.

Re: Solr Logging

2008-04-29 Thread Chris Hostetter
: JULI can be configured per-webapp also by adding a logging.properties to the : classpath (add it to WEB-INF/classes). So you can configure Handlers : JULI is a Tomcat thing : (http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/juli/package-summary.html : ), right? In other words, it

Re: Solr Logging

2008-04-29 Thread David Smiley @MITRE.org
. Respectfully, David Smiley -- View this message in context: http://www.nabble.com/Solr-Logging-tp16836646p16972876.html Sent from the Solr - Dev mailing list archive at Nabble.com.

Re: Solr Logging

2008-04-28 Thread Grant Ingersoll
On Apr 22, 2008, at 12:41 PM, Shalin Shekhar Mangar wrote: JULI can be configured per-webapp also by adding a logging.properties to the classpath (add it to WEB-INF/classes). So you can configure Handlers (FileHandler/ConsoleHandler including filenames) and Formatter per- webapp. However

Re: Solr Logging

2008-04-28 Thread Grant Ingersoll
On Apr 22, 2008, at 12:54 PM, Chris Hostetter wrote: : I know logging is sometimes a religious debate, but would others consider a : patch that switched Solr to use log4j? Or, commons-logging? I just don't : think JUL is up to snuff when it comes to logging. It's a PITA to configure, :

Re: Solr Logging

2008-04-25 Thread Henrib
. Infact, this discussion prompted me to think about why Tomcat is not using commons-logging if it is such a great thing. -- View this message in context: http://www.nabble.com/Solr-Logging-tp16836646p16894713.html Sent from the Solr - Dev mailing list archive at Nabble.com.

Re: Solr Logging

2008-04-24 Thread Henrib
to another logging API (slf4j rather than commons if we go that way). -- View this message in context: http://www.nabble.com/Solr-Logging-tp16836646p16847799.html Sent from the Solr - Dev mailing list archive at Nabble.com.

Re: Solr Logging

2008-04-23 Thread Shalin Shekhar Mangar
Thomas, I don't understand why you say that JDK Logging is only on JVM level. You can have as many different log files as you have Solr instances. All you need to do it to put a logging properties inside Solr's web-inf/classes. For example: # Global Default logging behavior handlers=

RE: Solr Logging

2008-04-22 Thread Will Johnson
: Tuesday, April 22, 2008 11:48 AM To: solr-dev@lucene.apache.org Subject: Solr Logging Anyone have good tips on working w/ java.util.logging (JUL)? For one, the configuration seems to be per JVM, which isn't all that useful in a webapp environment. http://www.crazysquirrel.com/computing/java