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

remove unnecessary (and problematic) log4j jars in contribs

    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

        1. SOLR-2303.patch
          0.4 kB
          Robert Muir

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: