You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by md...@apache.org on 2010/04/26 16:59:34 UTC
svn commit: r938076 - in /jackrabbit/trunk/jackrabbit-jcr2spi: pom.xml
src/test/resources/logback-test.xml
Author: mduerig
Date: Mon Apr 26 14:59:34 2010
New Revision: 938076
URL: http://svn.apache.org/viewvc?rev=938076&view=rev
Log:
JCR-2584: Switch from log4j to Logback
Adding logback configuration and test dependency for running ReadPerformanceTest
Added:
jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/logback-test.xml
Modified:
jackrabbit/trunk/jackrabbit-jcr2spi/pom.xml
Modified: jackrabbit/trunk/jackrabbit-jcr2spi/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/pom.xml?rev=938076&r1=938075&r2=938076&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/pom.xml Mon Apr 26 14:59:34 2010
@@ -126,6 +126,11 @@
<version>2.2-SNAPSHOT</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
Added: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/logback-test.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/logback-test.xml?rev=938076&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/logback-test.xml (added)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/logback-test.xml Mon Apr 26 14:59:34 2010
@@ -0,0 +1,31 @@
+<?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="file" class="ch.qos.logback.core.FileAppender">
+ <file>target/jcr.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="file"/>
+ </root>
+
+</configuration>