Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2072

log4j2 dependencies brought by Hive 2 are causing conflicts with Sentry log4j

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Sentry
    • None

    Description

      While testing Sentry 2.0, I found that the logging was not working correctly due to some log4j2 dependencies that were added on the classpath by Hive 2 dependency.

      Sentry has a mix of log4j and SLF4J api usage, so having these mix of dependencies have conflict with the Sentry logging. We should exclude these log4j2 dependencies for the Sentry 2.0 release.

      The libraries that were added and should be excluded are:
      log4j-1.2-api-2.6.2.jar
      log4j-api-2.6.2.jar
      log4j-core-2.6.2.jar
      log4j-slf4j-impl-2.6.2.jar
      log4j-web-2.6.2.jar

      The only library that should exist on the classpath is:
      log4j-1.2.16.jar

      Attachments

        1. SENTRY-2072.001.patch
          4 kB
          Krishna Kalyan
        2. SENTRY-2072.002.patch
          6 kB
          Krishna Kalyan

        Activity

          People

            kkalyan Krishna Kalyan
            spena Sergio Peña
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: