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

Logging test fails when logger properties file and log file are specified for unit tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.1
    • None
    • Eclipse, various JVMs (IBM and Sun, 1.4, 1.5 and 1.6).

    Description

      Not sure this is a bug, but it would be nice if it could be fixed. I'm trying to run our test cases with logging to a file instead of a console, so I don't get deluged with logging info. When I specify, for example, -Djava.util.logging.config.file=../uimaj-distr/src/main/properties/Logger.properties -Djava.util.logging.config.file=uima.log, JSR47Logger_implTest.testIsLoggable() fails with a NullPointerException.

      Attachments

        Activity

          People

            twgoetz Thilo Goetz
            twgoetz Thilo Goetz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: