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

Log methods for log wrappers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.1SDK
    • Core Java Framework

    Description

      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.

      Attachments

        1. UIMA-2375-REC-2012-02-20.patch
          9 kB
          deprecated (use "rec")

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: