So I'm writing some unit tests that check that my AnalysisEngines are throwing exceptions in the right places, however, before my test code can catch the exception, UIMA has already written the exception to the logger at level SEVERE. The tests still complete correctly, which is good, but I'd like to be able to suppress UIMA's logging output. To do this correctly, I should really:
* get the current logging level * set the logging level to Level.OFF * run my exception checking test * restore the logging level to the original value Now org.apache.uima.util.Logger has a setLevel method, but no getLevel method. How can I get the current logging level? Or is there another way to temporarily disable logging? Steve -- I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a tiny blip on the distant coast of sanity. --- Bucky Katt, Get Fuzzy
