Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
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.