Skip to content
Browse files

Static initializer in a few tests to reduce/remove logging. Cleaned u…

…p steps file and also changed feature a bit.
  • Loading branch information...
1 parent e9ec857 commit 035ba339644a2494e44903eedda63c574409b3bb @schuchert committed Mar 27, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/test/java/shoe/example/logging/JdkLoggingExample.java
View
6 src/test/java/shoe/example/logging/JdkLoggingExample.java
@@ -1,11 +1,17 @@
package shoe.example.logging;
import org.junit.Test;
+import shoe.example.log.SystemLoggerFactory;
import java.util.logging.Level;
import java.util.logging.Logger;
public class JdkLoggingExample {
+ static {
+ SystemLoggerFactory.setLevel("org", Level.SEVERE);
+ SystemLoggerFactory.setLevel("shoe", Level.SEVERE);
+ }
+
@Test
public void unnecessaryStringConcat() {
Logger logger = Logger.getLogger(getClass().getName());

0 comments on commit 035ba33

Please sign in to comment.
Something went wrong with that request. Please try again.