You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2017/03/01 15:48:45 UTC

[jira] [Updated] (UIMA-5343) uv3 switch logger level mappings to match uimaFIT better

     [ https://issues.apache.org/jira/browse/UIMA-5343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor updated UIMA-5343:
---------------------------------
    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    <-> TRACE  
*FINER   <-> DEBUG  
*FINEST  <-> DEBUG  (distinguished by a marker, UIMA_MARKER_DEBUG) 

The asterisks mark the changes.  FINE previously went to TRACE with a marker UIMA_MARKER_FINE.  There previously was also a marker UIMA_MARKER_FINER.  Remove those.

> uv3 switch logger level mappings to match uimaFIT better
> --------------------------------------------------------
>
>                 Key: UIMA-5343
>                 URL: https://issues.apache.org/jira/browse/UIMA-5343
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>             Fix For: 3.0.0SDK-alpha02
>
>
> 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    <-> TRACE  
> *FINER   <-> DEBUG  
> *FINEST  <-> DEBUG  (distinguished by a marker, UIMA_MARKER_DEBUG) 
> The asterisks mark the changes.  FINE previously went to TRACE with a marker UIMA_MARKER_FINE.  There previously was also a marker UIMA_MARKER_FINER.  Remove those.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)