You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2015/01/13 21:13:26 UTC
svn commit: r1651467 -
/uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/util/impl/LoggingTest.java
Author: schor
Date: Tue Jan 13 20:13:26 2015
New Revision: 1651467
URL: http://svn.apache.org/r1651467
Log:
no Jira, this test left the uima-logger in FINE mode, causing subsequent tests which logged at FINE to log lots of silly messages. Add a set at the end of this test to set the uima-logger back to INFO, to get rid of those messages.
Modified:
uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/util/impl/LoggingTest.java
Modified: uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/util/impl/LoggingTest.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/util/impl/LoggingTest.java?rev=1651467&r1=1651466&r2=1651467&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/util/impl/LoggingTest.java (original)
+++ uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/util/impl/LoggingTest.java Tue Jan 13 20:13:26 2015
@@ -114,9 +114,11 @@ public class LoggingTest extends TestCas
Assert.assertTrue(logger.isLoggable(Level.INFO));
Assert.assertFalse(logger.isLoggable(Level.FINER));
Assert.assertFalse(logger.isLoggable(Level.ALL));
+ uimaLogger.setLevel(Level.INFO);
} catch (Exception ex) {
JUnitExtension.handleException(ex);
}
+
}
}