You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2016/09/16 09:18:49 UTC

spark git commit: [SPARK-17543] Missing log4j config file for tests in common/network-…

Repository: spark
Updated Branches:
  refs/heads/master b72486f82 -> b2e272624


[SPARK-17543] Missing log4j config file for tests in common/network-\u2026

## What changes were proposed in this pull request?

The Maven module `common/network-shuffle` does not have a log4j configuration file for its test cases. So, added `log4j.properties` in the directory `src/test/resources`.

\u2026shuffle]

Author: Jagadeesan <as...@us.ibm.com>

Closes #15108 from jagadeesanas2/SPARK-17543.


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

Branch: refs/heads/master
Commit: b2e27262440015f57bcfa888921c9cc017800910
Parents: b72486f
Author: Jagadeesan <as...@us.ibm.com>
Authored: Fri Sep 16 10:18:45 2016 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Fri Sep 16 10:18:45 2016 +0100

----------------------------------------------------------------------
 .../src/test/resources/log4j.properties         | 24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/b2e27262/common/network-shuffle/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/common/network-shuffle/src/test/resources/log4j.properties b/common/network-shuffle/src/test/resources/log4j.properties
new file mode 100644
index 0000000..e739789
--- /dev/null
+++ b/common/network-shuffle/src/test/resources/log4j.properties
@@ -0,0 +1,24 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Set everything to be logged to the file target/unit-tests.log
+log4j.rootCategory=DEBUG, file
+log4j.appender.file=org.apache.log4j.FileAppender
+log4j.appender.file.append=true
+log4j.appender.file.file=target/unit-tests.log
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss.SSS} %t %p %c{1}: %m%n


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org