Add logback-test.xml to reduce test output

Signed-off-by: poorna <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-tephra/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tephra/commit/1fd1978b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tephra/tree/1fd1978b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tephra/diff/1fd1978b

Branch: refs/heads/master
Commit: 1fd1978b67cdfb446a7ed2ce7a60cb3ce9ade736
Parents: 5e34223
Author: poorna <[email protected]>
Authored: Tue Sep 6 17:30:34 2016 -0700
Committer: poorna <[email protected]>
Committed: Wed Sep 7 12:59:27 2016 -0700

----------------------------------------------------------------------
 tephra-core/src/test/resources/logback-test.xml | 39 ++++++++++++++++++++
 1 file changed, 39 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/1fd1978b/tephra-core/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/tephra-core/src/test/resources/logback-test.xml 
b/tephra-core/src/test/resources/logback-test.xml
new file mode 100644
index 0000000..95399fb
--- /dev/null
+++ b/tephra-core/src/test/resources/logback-test.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ 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.
+  -->
+
+<configuration>
+  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+    <encoder>
+      <pattern>%d{ISO8601} - %-5p [%t:%C{1}@%L] - %m%n</pattern>
+    </encoder>
+  </appender>
+
+  <logger name="org.apache.hadoop" level="WARN" />
+  <!-- BlockStateChange is used by 
org.apache.hadoop.hdfs.server.blockmanagement.BlockManager -->
+  <logger name="BlockStateChange" level="WARN" />
+  <logger name="org.apache.zookeeper" level="WARN" />
+  <logger name="org.mortbay.log" level="WARN" />
+  <logger name="org.apache.hadoop.hbase" level="INFO" />
+
+  <root level="INFO">
+    <appender-ref ref="STDOUT"/>
+  </root>
+
+</configuration>

Reply via email to