uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsha V. Krishnareddy" <harshakrishnare...@gmail.com>
Subject Re: Failed tests: testLogWrapperCreation(org.apache.uima.util.impl.JSR47Logger_implTest) - Oracle Java 7
Date Thu, 18 Oct 2012 21:20:57 GMT
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 <burnlewis@gmail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message