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

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Sentry
    • Labels:
      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.002.patch
          6 kB
          Krishna Kalyan
        2. SENTRY-2072.001.patch
          4 kB
          Krishna Kalyan

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: