[jira] Resolved: (SOLR-1417) solrj DocumentObjectBinder prints to stdout rather than using slf4j

2009-09-08 Thread Noble Paul (JIRA)
> solrj DocumentObjectBinder prints to stdout rather than using slf4j > --- > > Key: SOLR-1417 > URL: https://issues.apache.org/jira/browse/SOLR-1417 > Project: Solr >

[jira] Created: (SOLR-1417) solrj DocumentObjectBinder prints to stdout rather than using slf4j

2009-09-08 Thread Ilan Rabinovitch (JIRA)
solrj DocumentObjectBinder prints to stdout rather than using slf4j --- Key: SOLR-1417 URL: https://issues.apache.org/jira/browse/SOLR-1417 Project: Solr Issue Type: Bug

[jira] Closed: (SOLR-560) Convert JDK logging to SLF4J

2009-08-13 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll closed SOLR-560. > Convert JDK logging to SLF4J > > > K

Re: Missing SLF4J lib?

2009-06-18 Thread Development Team
Well, I'm not using Maven... I have added the API lib as a dependency to my Eclipse project, only because I'm using an SLF4J logger now in my code. I've also added the API and the SLF4J-Log4J bridge (that I had to get from the SLF4J site) to my deployment so that I could deploy my a

Re: Missing SLF4J lib?

2009-06-18 Thread Aleksander M. Stensby
If you are using maven you can simply add the following dependency to your pom.xml: org.slf4j slf4j-simple 1.5.6 In addition to any solr / lucene packages you may need for your task

Re: Missing SLF4J lib?

2009-06-17 Thread Development Team
/www.lucidimagination.com > > > > > Development Team wrote: > >> Hi everybody, >> With Solr 1.4, when I try to *run* an app that uses SolrJ, it fails >> with this exception: >> >> Exception in thread "Thread-4" java.lang.NoClassDefF

Re: Missing SLF4J lib?

2009-06-17 Thread Mark Miller
Solr 1.4, when I try to *run* an app that uses SolrJ, it fails with this exception: Exception in thread "Thread-4" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.(CommonsHttpSolrServer.java:77) I searched around

Missing SLF4J lib?

2009-06-17 Thread Development Team
Hi everybody, With Solr 1.4, when I try to *run* an app that uses SolrJ, it fails with this exception: Exception in thread "Thread-4" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.(CommonsHttpSolrServer.java:7

[jira] Commented: (SOLR-560) Convert JDK logging to SLF4J

2008-09-26 Thread Grant Ingersoll (JIRA)
all licenses. NOTICES needs to contain notices, and not licenses. I don't think it needs to be duplicated. > Convert JDK logging to SLF4J > > > Key: SOLR-560 > URL: https://issues.apache.org/jira/browse/SOLR-560 >

[jira] Resolved: (SOLR-560) Convert JDK logging to SLF4J

2008-09-26 Thread Ryan McKinley (JIRA)
LICENSE.txt? or should the license in NOTICE.txt be removed? http://svn.apache.org/viewvc/lucene/solr/trunk/NOTICE.txt?r1=696539&r2=696538&pathrev=696539 > Convert JDK logging to SLF4J > > > Key: SOLR-560 >

[jira] Reopened: (SOLR-560) Convert JDK logging to SLF4J

2008-09-26 Thread Grant Ingersoll (JIRA)
See solr/lib/README.committers.txt > Convert JDK logging to SLF4J > > > Key: SOLR-560 > URL: https://issues.apache.org/jira/browse/SOLR-560 > Project: Solr > Issue Type: Wish >

[jira] Resolved: (SOLR-560) Convert JDK logging to SLF4J

2008-09-18 Thread Ryan McKinley (JIRA)
es we can re-open it or make a new issue > Convert JDK logging to SLF4J > > > Key: SOLR-560 > URL: https://issues.apache.org/jira/browse/SOLR-560 > Project: Solr > Issue Type: Wish >

[jira] Commented: (SOLR-560) Convert JDK logging to SLF4J

2008-09-17 Thread Yonik Seeley (JIRA)
mmit this soon... +1 > Convert JDK logging to SLF4J > > > Key: SOLR-560 > URL: https://issues.apache.org/jira/browse/SOLR-560 > Project: Solr > Issue Type: Wish >Reporter: Ryan Mc

slf4j

2008-09-17 Thread Ryan McKinley
without objection, i will commit SOLR-560 soon... https://issues.apache.org/jira/browse/SOLR-560 ryan

[jira] Updated: (SOLR-560) Convert JDK logging to SLF4J

2008-09-16 Thread Ryan McKinley (JIRA)
like to commit this soon... > Convert JDK logging to SLF4J > > > Key: SOLR-560 > URL: https://issues.apache.org/jira/browse/SOLR-560 > Project: Solr > Issue Type: Wish >

Re: [jira] Commented: (SOLR-560) Convert JDK logging to SLF4J

2008-06-05 Thread Mike Klaas
On 5-Jun-08, at 6:42 PM, Ryan McKinley (JIRA) wrote: Ryan McKinley commented on SOLR-560: I removed this from the 1.3 list... Hopefully we can add it just after the 1.3 release so we have plenty of time to know if it is an ok choice. Oh, thanks. I don

[jira] Updated: (SOLR-560) Convert JDK logging to SLF4J

2008-06-05 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-560: --- Fix Version/s: (was: 1.3) > Convert JDK logging to SL

[jira] Commented: (SOLR-560) Convert JDK logging to SLF4J

2008-06-05 Thread Ryan McKinley (JIRA)
y we can add it just after the 1.3 release so we have plenty of time to know if it is an ok choice. > Convert JDK logging to SLF4J > > > Key: SOLR-560 > URL: https://issues.apache.org/jira/browse/SOLR-560 >

[jira] Assigned: (SOLR-560) Convert JDK logging to SLF4J

2008-06-05 Thread Mike Klaas (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Klaas reassigned SOLR-560: --- Assignee: Ryan McKinley It's Ryan's patch. > Convert JDK log

Re: [poll] Change logging to SLF4J?

2008-05-24 Thread Ryan McKinley
Hymm, I guess folks aren't coming out of the woodwork to vote for this one. Wicket recently had a poll with ~100 votes cast: http://www.nabble.com/Re%3A--vote--Release-1.4-with-only-generics-and-stop-support-for-1.3-p16220947.html So I'm not sure where that leaves us. Unless Grant feels stron

Re: [poll] Change logging to SLF4J?

2008-05-16 Thread Chris Hostetter
(note: list change to solr-dev) Giving the underwhelming response to this poll, it seems pretty clear to me that the number of people who care one way or another about how Solr does logging can probably be counted on one hand ... ok, maybe two hands. -Hoss

[jira] Commented: (SOLR-560) Convert JDK logging to SLF4J

2008-05-16 Thread David Smiley (JIRA)
ould apply the patch. > Convert JDK logging to SLF4J > > > Key: SOLR-560 > URL: https://issues.apache.org/jira/browse/SOLR-560 > Project: Solr > Issue Type: Wish >Reporter: Ry

[jira] Updated: (SOLR-560) Convert JDK logging to SLF4J

2008-05-16 Thread Will Johnson (JIRA)
slf4j redirecting to log4j. > Convert JDK logging to SLF4J > > > Key: SOLR-560 > URL: https://issues.apache.org/jira/browse/SOLR-560 > Project: Solr > Issue Type: Wish >

Re: [jira] Commented: (SOLR-560) Convert JDK logging to SLF4J

2008-05-07 Thread Grant Ingersoll
?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594603 #action_12594603 ] Sean Timm commented on SOLR-560: Thanks for taking a look at SOLR-554, Patrick. I did test the log level selector with this SLF4J patch and it works fine as is. It might be desirable to chang

[jira] Commented: (SOLR-560) Convert JDK logging to SLF4J

2008-05-06 Thread Sean Timm (JIRA)
test the log level selector with this SLF4J patch and it works fine as is. It might be desirable to change the log level names in the log level selector to match the names in SLF4J however. >From the SLF4J FAQ: "SLF4J is only a facade, meaning that it does not provide a complete loggi

[jira] Commented: (SOLR-560) Convert JDK logging to SLF4J

2008-05-05 Thread patrick o'leary (JIRA)
with SOLR-554 might need to modify it slightly for SLF4J. > Convert JDK logging to SLF4J > > > Key: SOLR-560 > URL: https://issues.apache.org/jira/browse/SOLR-560 > Project: Solr > Issue Typ

[jira] Updated: (SOLR-560) Convert JDK logging to SLF4J

2008-05-04 Thread Ryan McKinley (JIRA)
does not handle logging.jsp yet... > Convert JDK logging to SLF4J > > > Key: SOLR-560 > URL: https://issues.apache.org/jira/browse/SOLR-560 > Project: Solr > Issue Type: Wish >

[jira] Commented: (SOLR-560) Convert JDK logging to SLF4J

2008-05-04 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594136#action_12594136 ] Ryan McKinley commented on SOLR-560: I attached a quick patch to convert to SLF4j

[jira] Updated: (SOLR-560) Convert JDK logging to SLF4J

2008-05-04 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-560: --- Attachment: slf4j-api-1.5.0.jar > Convert JDK logging to SL

[jira] Updated: (SOLR-560) Convert JDK logging to SLF4J

2008-05-04 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-560: --- Attachment: slf4j-jdk14-1.5.0.jar > Convert JDK logging to SL

[jira] Updated: (SOLR-560) Convert JDK logging to SLF4J

2008-05-04 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-560: --- Attachment: SOLR-560-slf4j.patch > Convert JDK logging to SL

[jira] Created: (SOLR-560) Convert JDK logging to SLF4J

2008-05-04 Thread Ryan McKinley (JIRA)
Convert JDK logging to SLF4J Key: SOLR-560 URL: https://issues.apache.org/jira/browse/SOLR-560 Project: Solr Issue Type: Wish Reporter: Ryan McKinley Fix For: 1.3 After lots of

Re: logging through log4j (or better yet, SLF4J)

2008-05-02 Thread Henrib
Configuring JUL to fit your needs *requires* that you get people in charge of the container to cooperate. If you can not, you are screwed no matter what. Some of us are just not in a position to negotiate with them on this issue. -- View this message in context: http://www.nabble.com/logging-t

Re: logging through log4j (or better yet, SLF4J)

2008-05-01 Thread Chris Hostetter
: Being able to override the default implementation fortunately allows to : implement the must-have feature you describe as the "ClassLoader specific : LogManagerManager", I agree; however, I think it should have been in the : default implementation. I view this as a major regression from the prev

Re: logging through log4j (or better yet, SLF4J)

2008-05-01 Thread Chris Hostetter
: And Jetty is what WE ship, not just me using it. By definition, the container : that we ship for our examples doesn't do logging right. How would we expect : anyone else to? Jetty, in my opinion, doesn't do JUL logging wrong -- it just doesn't add any bells and whistles. It defers to whatev

Re: logging through log4j (or better yet, SLF4J)

2008-05-01 Thread Henrib
Erik Hatcher wrote: > > It seems to me Sun left it wide open for a thousand implementations > to flourish, actually. What's to prevent a ClassLoader specific > LogManagerManager from being put into the mix? Nothing - that's what > JULI does. > Being able to override the default impleme

Re: logging through log4j (or better yet, SLF4J)

2008-04-30 Thread Erik Hatcher
On Apr 30, 2008, at 12:50 PM, Henrib wrote: the rant is on the containers not doing the right thing by incorporating (something like) JULI. Containers {w,sh}ould not have to invent specific and proprietary if JDK logging specified a way to define LogManager per class-loader; imho, the ran

Re: logging through log4j (or better yet, SLF4J)

2008-04-30 Thread Henrib
Erik Hatcher wrote: > > JUL is the substrate that we (Java developers) should be logging to. > Practically speaking, I'd like the world to look like this: >App -> JUL -> Log4J adapter > Agreed. Erik Hatcher wrote: > > the rant is on the containers not doing the > right thing by incorpo

Re: logging through log4j (or better yet, SLF4J)

2008-04-29 Thread Ryan McKinley
ledge it and deal with it. bringing in another gorilla doesn't make the first one go away funny, I see JUL as the gorilla I wish SOLR did not wake up. Nothing else I have ever worked dared poke him ;) I hoped SLF4J would let the the gorilla sleep peacefully along with javax.swing and th

Re: logging through log4j (or better yet, SLF4J)

2008-04-29 Thread Erik Hatcher
On Apr 29, 2008, at 8:00 PM, David Smiley @MITRE.org wrote: 2. If you're saying (from another message I responded to) that it's the container's job to handle the JUL configuration in a flexible manner, then wouldn't it be reasonable in this scenario to tell the container to direct JUL to w

Re: logging through log4j (or better yet, SLF4J)

2008-04-29 Thread Grant Ingersoll
But that's just it, hardly anything does use JUL. I can't for the life of me think of a single project that does OTHER than Solr. And Jetty is what WE ship, not just me using it. By definition, the container that we ship for our examples doesn't do logging right. How would we expect any

Re: logging through log4j (or better yet, SLF4J)

2008-04-29 Thread Chris Hostetter
: 2. If you're saying (from another message I responded to) that it's the : container's job to handle the JUL configuration in a flexible manner, then : wouldn't it be reasonable in this scenario to tell the container to direct : JUL to whatever it is I want (log4j in this scenario)? : 3. You ment

Re: logging through log4j (or better yet, SLF4J)

2008-04-29 Thread David Smiley @MITRE.org
hossman wrote: > > : a fan; but it's really not that important any way). Then, if someone > (like > : me :-) would like to configure logging with log4j then I am easily > empowered > : to do so by removing that jar and adding slf4j-log4j.jar. What I like > about &g

Re: logging through log4j (or better yet, SLF4J)

2008-04-29 Thread Chris Hostetter
: a fan; but it's really not that important any way). Then, if someone (like : me :-) would like to configure logging with log4j then I am easily empowered : to do so by removing that jar and adding slf4j-log4j.jar. What I like about This is the part of all the third party logging abstra

Re: logging through log4j (or better yet, SLF4J)

2008-04-29 Thread Henrib
I agree, slf4j is a better solution; I was just trying to mitigate the functional need (hooking log4j) & the strong (op)positions against changing the logging API, thus the mildly disgusting solr-549 strawman. :-) David Smiley @MITRE.org wrote: > > Whenever I see a project with

Re: logging through log4j (or better yet, SLF4J)

2008-04-29 Thread David Smiley @MITRE.org
I do sympathize; it does seem wrong, but it's the norm in Java because Sun screwed up Jdk14 logging. It's not a reflection of the design decisions of Solr (i.e. your judgement) so please don't feel too bad accepting SLF4J. ~ David Erik Hatcher wrote: > > My main p

Re: logging through log4j (or better yet, SLF4J)

2008-04-29 Thread Erik Hatcher
Whenever I see a project with some home-grown LogManager that provides loggers, I am always mildly disgusted no matter how simple it is (no disrespect to you, that is my opinion). I believe use of SLF4J will meet common goals. Solr should log to SLFJ4J (slf4j-api.jar) and then out-of-the-box

Re: logging through log4j (or better yet, SLF4J)

2008-04-29 Thread David Smiley @MITRE.org
Whenever I see a project with some home-grown LogManager that provides loggers, I am always mildly disgusted no matter how simple it is (no disrespect to you, that is my opinion). I believe use of SLF4J will meet common goals. Solr should log to SLFJ4J (slf4j-api.jar) and then out-of-the-box

Re: logging - slf4j?

2007-03-07 Thread Ryan McKinley
On 3/7/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : Is there any interest in using slf4j (http://www.slf4j.org/) rather : then forcing folks to use JDK logging? i'd really rather now .. JDK logging is universal (at least in all JDK versions Solr supports) and while i have no pro

Re: logging - slf4j?

2007-03-07 Thread Chris Hostetter
: Is there any interest in using slf4j (http://www.slf4j.org/) rather : then forcing folks to use JDK logging? i'd really rather now .. JDK logging is universal (at least in all JDK versions Solr supports) and while i have no problem adding dependencies to SOlr if they allow for really

Re: logging - slf4j?

2007-03-07 Thread Ryan McKinley
Well, it isn't quite that simple: entry.somethingThatTakesSomeTime() will be executed in the example you provide. From what I've gleaned by glancing at the site, it appears to be necessary to hide the calls in the toString method of some object to delay the execution. Too bad this isn't python

Re: logging - slf4j?

2007-03-07 Thread Mike Klaas
On 3/7/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: Is there any interest in using slf4j (http://www.slf4j.org/) rather then forcing folks to use JDK logging? The nice thing about slf4j is that user can easily switch the logger implementation. The other nice thing is its use of m

logging - slf4j?

2007-03-07 Thread Ryan McKinley
Is there any interest in using slf4j (http://www.slf4j.org/) rather then forcing folks to use JDK logging? The nice thing about slf4j is that user can easily switch the logger implementation. The other nice thing is its use of message formats. This means you don't have to wrap stuff