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

uv3 switch logger level mappings to match uimaFIT better

    XMLWordPrintableJSON

Details

    Description

      UIMA Logger levels are modeled on java.util.logging.Level. This has levels: SEVERE/WARNING/INFO/CONFIG/FINE/FINER/FINEST.

      Newer loggers, including the common facade SLF4J have levels ERROR/WARN/INFO/TRACE/DEBUG.

      Because UIMA v3 is using the slf4j style as a default, it needs to have a mapping between these levels. The initial mapping needs updating slightly so that it is compatible with the already in existence mappings done by uimaFIT in its Extended Logger implementation.

      Change the mappings to:

      SEVERE <-> ERROR
      WARNING <-> WARN
      INFO <-> INFO
      CONFIG <-> INFO (distinguished by a marker, UIMA_MARKER_CONFIG)
      *FINE <-> DEBUG
      *FINER <-> TRACE
      *FINEST <-> TRACE (distinguished by a marker, UIMA_MARKER_FINEST)

      The asterisks mark the changes.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: