You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by yj...@apache.org on 2017/02/28 04:45:34 UTC

hadoop git commit: HADOOP-14127. Add log4j configuration to enable logging in hadoop-distcp's tests. (Xiao Chen via Yongjun Zhang)

Repository: hadoop
Updated Branches:
  refs/heads/trunk 55c07bbed -> d235dcdf0


HADOOP-14127. Add log4j configuration to enable logging in hadoop-distcp's tests. (Xiao Chen via Yongjun Zhang)


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

Branch: refs/heads/trunk
Commit: d235dcdf0b6f36162280e32c7c0342b7970c9b7b
Parents: 55c07bb
Author: Yongjun Zhang <yz...@cloudera.com>
Authored: Mon Feb 27 20:42:13 2017 -0800
Committer: Yongjun Zhang <yz...@cloudera.com>
Committed: Mon Feb 27 20:42:13 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/d235dcdf/hadoop-tools/hadoop-distcp/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-distcp/src/test/resources/log4j.properties b/hadoop-tools/hadoop-distcp/src/test/resources/log4j.properties
new file mode 100644
index 0000000..22990ca
--- /dev/null
+++ b/hadoop-tools/hadoop-distcp/src/test/resources/log4j.properties
@@ -0,0 +1,22 @@
+#
+#   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.
+#
+# log4j configuration used during build and unit tests
+
+log4j.rootLogger=debug,stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c{2} (%F:%M(%L)) - %m%n


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