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

uv3 tooling - specify JUL logger

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0SDK-alpha02
    • 3.0.0SDK-beta
    • Core Java Framework, Tools
    • None

    Description

      For most common tools, insure the logger is set up, to use the JUL logger as a default.

      Make this work only if a JVM property, "-Duima.use_jul_as_default_uima_logger" is specified.

      This should work only for the uima logger, when the normal slf4j implementation hasn't been overridden; in that case, if slf4j finds there's no back end logger specified, it will set up a NOP back end. In this case, arrange for the UIMA logger to get the alternate JUL (java.util.logging) logger, instead of the slf4j (which will remain hooked up to the NOP back end logger).

      Update the scripts that run tools (the runUimaClass.bat and .sh) to define this JVM property when starting UIMA tooling, so that tools started using the default scripts will have some logging, if no back end is specified.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: