Author: amitj
Date: Fri Jun 2 05:00:35 2017
New Revision: 1797318
URL: http://svn.apache.org/viewvc?rev=1797318&view=rev
Log:
OAK-6293: Enable test log creation for oak-blob-plugins
Added:
jackrabbit/oak/trunk/oak-blob-plugins/src/test/resources/
jackrabbit/oak/trunk/oak-blob-plugins/src/test/resources/logback-test.xml
(with props)
Modified:
jackrabbit/oak/trunk/oak-blob-plugins/pom.xml
Modified: jackrabbit/oak/trunk/oak-blob-plugins/pom.xml
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-blob-plugins/pom.xml?rev=1797318&r1=1797317&r2=1797318&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-blob-plugins/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-blob-plugins/pom.xml Fri Jun 2 05:00:35 2017
@@ -140,6 +140,10 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ </dependency>
<!-- Findbugs annotations -->
<dependency>
@@ -187,4 +191,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
Added: jackrabbit/oak/trunk/oak-blob-plugins/src/test/resources/logback-test.xml
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-blob-plugins/src/test/resources/logback-test.xml?rev=1797318&view=auto
==============================================================================
--- jackrabbit/oak/trunk/oak-blob-plugins/src/test/resources/logback-test.xml
(added)
+++ jackrabbit/oak/trunk/oak-blob-plugins/src/test/resources/logback-test.xml
Fri Jun 2 05:00:35 2017
@@ -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="DEBUG">
+ <!--
+ <appender-ref ref="console"/>
+ -->
+ <appender-ref ref="file"/>
+</root>
+
+</configuration>
Propchange:
jackrabbit/oak/trunk/oak-blob-plugins/src/test/resources/logback-test.xml
------------------------------------------------------------------------------
svn:eol-style = native