Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2303

remove unnecessary (and problematic) log4j jars in contribs

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5, 4.0-ALPHA
    • Build
    • None

    Description

      In solr 4.0 there is log4j-over-slf4j.

      But if you have log4j jars also in the classpath (e.g. contrib/extraction, contrib/clustering) you can get strange errors such as:
      java.lang.NoSuchMethodError: org.apache.log4j.Logger.setAdditivity(Z)V

      So I think we should remove the log4j jars in these contribs, all tests pass with them removed.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rcmuir Robert Muir
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment