You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by re...@apache.org on 2019/10/07 10:53:07 UTC

svn commit: r1868078 - /jackrabbit/oak/trunk/oak-commons/src/test/resources/logback-test.xml

Author: reschke
Date: Mon Oct  7 10:53:07 2019
New Revision: 1868078

URL: http://svn.apache.org/viewvc?rev=1868078&view=rev
Log:
OAK-8680: logging config missing in oak-commons tests

Added:
    jackrabbit/oak/trunk/oak-commons/src/test/resources/logback-test.xml   (with props)

Added: jackrabbit/oak/trunk/oak-commons/src/test/resources/logback-test.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-commons/src/test/resources/logback-test.xml?rev=1868078&view=auto
==============================================================================
--- jackrabbit/oak/trunk/oak-commons/src/test/resources/logback-test.xml (added)
+++ jackrabbit/oak/trunk/oak-commons/src/test/resources/logback-test.xml Mon Oct  7 10:53:07 2019
@@ -0,0 +1,39 @@
+<!--
+   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="console" class="ch.qos.logback.core.ConsoleAppender">
+        <encoder>
+            <pattern>%date{HH:mm:ss.SSS} %-5level %-40([%thread] %F:%L) %msg%n</pattern>
+        </encoder>
+    </appender>
+
+    <appender name="file" class="ch.qos.logback.core.FileAppender">
+        <file>target/unit-tests.log</file>
+        <encoder>
+            <pattern>%date{HH:mm:ss.SSS} %-5level %-40([%thread] %F:%L) %msg%n</pattern>
+        </encoder>
+    </appender>
+
+    <root level="INFO">
+        <!--
+        <appender-ref ref="console"/>
+        -->
+        <appender-ref ref="file"/>
+    </root>
+
+</configuration>

Propchange: jackrabbit/oak/trunk/oak-commons/src/test/resources/logback-test.xml
------------------------------------------------------------------------------
    svn:eol-style = native