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

uv3: Logging substitution does not work consistently

    XMLWordPrintableJSON

Details

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

    Description

      The substitution of values in UIMA logging does not work consistently. E.g. for the following code

            UIMAFramework.getLogger().warn("Skipping adding \"{0}\" to URLs", p);
      

      Depending on the configured logging backend, I get different messages. E.g. with SLF4J, I get the broken:

      2017-09-08 14:45:42  WARN [main] (Misc) - Skipping adding "{0}" to URLs
      

      while with what (I suppose) is the default UIMA logger used in the uimaFIT maven plugin, I get the correct

      [WARNING] Skipping adding "" to URLs
      

      Attachments

        Activity

          People

            schor Marshall Schor
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: