lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Kahlout (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-2574) Add SLF4J-nop dependency
Date Sun, 05 Jun 2011 16:23:47 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gabriele Kahlout updated SOLR-2574:
-----------------------------------

       Priority: Minor  (was: Major)
    Description: 
Whatever the merits of slf4j, a quick solrj test should work. I've attached a sample project
with dependency on solrj-3.2 on run it prints:
{code}
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:72)
	at com.mysimpatico.solrjtest.App.main(App.java:12)
{code}
Uncomment the nop dependency and it will work.

  was:
After lots of discussion, we should consider using SLF4j to enable more flexibility in logging
configuration.

See:
http://www.nabble.com/Solr-Logging-td16836646.html
http://www.nabble.com/logging-through-log4j-td13747253.html

     Issue Type: Bug  (was: Wish)

> Add SLF4J-nop dependency
> ------------------------
>
>                 Key: SOLR-2574
>                 URL: https://issues.apache.org/jira/browse/SOLR-2574
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Gabriele Kahlout
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.4
>
>
> Whatever the merits of slf4j, a quick solrj test should work. I've attached a sample
project with dependency on solrj-3.2 on run it prints:
> {code}
> java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
> 	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:72)
> 	at com.mysimpatico.solrjtest.App.main(App.java:12)
> {code}
> Uncomment the nop dependency and it will work.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message