Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-571

A Tika dependency contains a logging adapter, which overrides attempts to specify your own logger.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.9
    • None
    • None

    Description

      In Maven, tika-parsers has a dependency on edu.ucar:netcdf:jar:4.2:compile. Inside this netcdf jar is a logging adapter (included in the jar, not as a Maven dependency) .

      This prevents well behaved logging behavior for folks using Tika, because this logging adapter sits on the classpath, waiting to steal your log messages and ignore your preferred logger.

      Here is the offending class that is in the netcdf jar:

      // Compiled from JDK14LoggerAdapter.java (version 1.4 : 48.0, super bit)
      public final class org.slf4j.impl.JDK14LoggerAdapter extends org.slf4j.helpers.MarkerIgnoringBase implements org.slf4j.spi.LocationAwareLogger {

      It seems that Tika should either re-package the netcdf jar file, or convince the netcdf people to make a new release where this isn't a problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kerzwik Steve Kearns
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: