You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by ju...@apache.org on 2017/03/22 02:03:10 UTC

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

Repository: reef
Updated Branches:
  refs/heads/master 11201cbdc -> 636af6afa


[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


Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/636af6af
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/636af6af
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/636af6af

Branch: refs/heads/master
Commit: 636af6afae00825959adb730e8b4e102e491eca6
Parents: 11201cb
Author: Sergiy Matusevych <mo...@apache.org>
Authored: Tue Mar 21 16:54:08 2017 -0700
Committer: Julia Wang <ju...@apache.org>
Committed: Tue Mar 21 18:21:26 2017 -0700

----------------------------------------------------------------------
 lang/java/reef-tests/pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/reef/blob/636af6af/lang/java/reef-tests/pom.xml
----------------------------------------------------------------------
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 @@ under the License.
 
     <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>