Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5571

uv3 log4j bridge not handling multi-substitutable args vs throwable correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0SDK-alpha02
    • 3.0.0SDK-beta
    • Core Java Framework
    • None

    Description

      The log4j (v2) API has calls which allow both a message (with substitutable parts) and arguments to substitute.

      It also has calls which allow passing a throwable.

      The calls that support passing a throwable do not support substituable parts. The bridge code assumed that it did. This resulted in an array of args being treated as one substitutable value.

      Change the bridge code to call one of two different log4j methods, depending on whether or not a throwable is being included.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: