uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (Updated) (JIRA)" <...@uima.apache.org>
Subject [jira] [Updated] (UIMA-2375) Log methods for log wrappers
Date Mon, 20 Feb 2012 22:41:34 GMT

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

Richard Eckart de Castilho updated UIMA-2375:
---------------------------------------------

    Attachment: UIMA-2375-REC-2012-02-20.patch

The patch provides a new generic logging method for use by logger wrappers. The tests have
also been extended accordingly. Full asserts have not been implemented in this patch. For
added asserts, please refer to UIMA-2374.
                
> Log methods for log wrappers
> ----------------------------
>
>                 Key: UIMA-2375
>                 URL: https://issues.apache.org/jira/browse/UIMA-2375
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Richard Eckart de Castilho
>              Labels: patch
>         Attachments: UIMA-2375-REC-2012-02-20.patch
>
>
> The logging framework of UIMA provides wrappers for several logging backends, e.g. for
Log4J and JSR47. These frameworks provide special logging methods for logger wrappers that
make sure the final logging message contains the correct logging location information (e.g.
filename, class, line, etc.). The UIMA Logger interface does not provide such a generic logging
method and is, thus, not suitable to be wrapped itself.
> Wrapping a Logger instance can be interesting for building complex logging message with
helper methods, or, to provide an alternative logging API. Recently, uimaFIT 1.3.0 has introduced
a more convenient logging API wrapping the UIMA Logger. Unfortunately, currently the class
name written to the log is always the name of the logger wrapper, not of the original caller.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message