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

avro git commit: AVRO-1960 Add log4j properties for avro-tools

Repository: avro
Updated Branches:
  refs/heads/master b735b4259 -> 656b2bb52


AVRO-1960 Add log4j properties for avro-tools

Originally contributed by Cl�ment MATHIEU <cl...@unportant.info>
Additional changes were made by Suraj Acharya

Signed-off-by: sacharya <su...@gmail.com>


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

Branch: refs/heads/master
Commit: 656b2bb525b087d3d65f93a58f566164616e1766
Parents: b735b42
Author: sacharya <su...@gmail.com>
Authored: Wed Feb 8 21:17:11 2017 -0600
Committer: sacharya <su...@gmail.com>
Committed: Wed Feb 8 21:17:11 2017 -0600

----------------------------------------------------------------------
 CHANGES.txt                                     |  2 ++
 .../tools/src/main/resources/log4j.properties   | 22 ++++++++++++++++++++
 2 files changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/avro/blob/656b2bb5/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index f80316d..93ab4f4 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -44,6 +44,8 @@ Trunk (not yet released)
 
     AVRO-1975: Upgrade java dependencies (gabor)
 
+    AVRO-1960: Add log4j properties for avro-tools
+
   BUG FIXES
 
     AVRO-1741: Python3: Fix error when codec is not in the header.

http://git-wip-us.apache.org/repos/asf/avro/blob/656b2bb5/lang/java/tools/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/lang/java/tools/src/main/resources/log4j.properties b/lang/java/tools/src/main/resources/log4j.properties
new file mode 100644
index 0000000..41894f6
--- /dev/null
+++ b/lang/java/tools/src/main/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.rootLogger=INFO, console
+
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.target=System.err
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n