avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject avro git commit: AVRO-1960 Add log4j properties for avro-tools
Date Thu, 09 Feb 2017 03:19:22 GMT
Repository: avro
Updated Branches:
  refs/heads/master b735b4259 -> 656b2bb52


AVRO-1960 Add log4j properties for avro-tools

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

Signed-off-by: sacharya <suraj.spa@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 <suraj.spa@gmail.com>
Authored: Wed Feb 8 21:17:11 2017 -0600
Committer: sacharya <suraj.spa@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


Mime
View raw message