lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <>
Subject [jira] [Commented] (SOLR-4771) Throw a more specific exception when SLF4J logging jars cannot be found on the classpath.
Date Fri, 26 Apr 2013 18:14:17 GMT


Steve Rowe commented on SOLR-4771:

The error message in the patch says "Could not find necessary SLF4j logging jars. If using
Jetty, the SLF4j logging jars need to go in the jetty lib/ext directory. For other containers,
the corresponding directory should be used."

When I read this, I thought: we should direct people to a fuller discussion of what "SLF4j
logging jars" refers to, but [] is not it - it has
apparently not been updated since the logging jars were removed from the war.

The CHANGES.txt entry is similarly devoid of specifics:

* Slf4j/logging jars are no longer included in the Solr webapp. All logging 
  jars are now in example/lib/ext. Changing logging impls is now as easy as 
  updating the jars in this folder with those necessary for the logging impl 
  you would like. If you are using another webapp container, these jars will 
  need to go in the corresponding location for that container. 
  In conjunction, the dist-excl-slf4j and dist-war-excl-slf4 build targets 
  have been removed since they are redundent.  See the Slf4j documentation, 
  SOLR-3706, and SOLR-4651 for more details.

Shouldn't we provide specifics here, somehow?  I don't think the error message in the patch
will reduce mailing list traffic at all - the questions will just be "what slf4j jars do I
need now?" instead of "why I am I getting a class not found exception?" 
> Throw a more specific exception when SLF4J logging jars cannot be found on the classpath.
> -----------------------------------------------------------------------------------------
>                 Key: SOLR-4771
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.3, 5.0
>         Attachments: SOLR-4771.patch

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message