[REEF-1754] Use finer log level when running unit tests in reef-tests

JIRA: [REEF-1754](https://issues.apache.org/jira/browse/REEF-1754)

closes #1273
diff --git a/lang/java/reef-tests/pom.xml b/lang/java/reef-tests/pom.xml
index dbf766f..692f823 100644
--- a/lang/java/reef-tests/pom.xml
+++ b/lang/java/reef-tests/pom.xml
@@ -150,6 +150,26 @@
 
     <profiles>
         <profile>
+            <id>log</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <forkMode>pertest</forkMode>
+                            <systemProperties>
+                                <property>
+                                    <name>java.util.logging.config.class</name>
+                                    <value>org.apache.reef.util.logging.Config</value>
+                                </property>
+                            </systemProperties>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
             <id>test</id>
             <activation>
                 <activeByDefault>true</activeByDefault>