Hi, I already tried this. This is what came up. Am I missing something here ?
Thank you, Harsha. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- defaultLogLevel: WARNING classLogger is set to log messages: NotALL, NotFINEST, NotFINER, NotFINE, NotCONFIG, NotINFO, WARNING, SEVERE, OFF, -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- On Thu, Oct 18, 2012 at 10:33 AM, Burn Lewis <[email protected]> wrote: > Very strange ... that line in my source is: > Assert.assertTrue(uimaLogger.isLoggable(Level.INFO)); > The code that converts from the UIMA level values to the Java ones looks > fine ... perhaps your build has picked up some other logger class? I added > the following after line 223 in org.apache.uima.util.impl > JSR47Logger_impl.java > > System.out.println("!! " + logger.getClass().getName() +":isLoggable: > UIMA level = " + level + " = " + level.toInteger() + > " jsr47Level = " + jsr47Level + " = " + jsr47Level.intValue() + > " -> " + logger.isLoggable(jsr47Level)); > > and ran the testLogWrapperCreation test to get: > > !! java.util.logging.Logger:isLoggable: UIMA level = INFO = 50000 > jsr47Level = INFO = 800 -> true > > Perhaps you could try something similar and see why this simple test fails. > > ~Burn >
