jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1483259 - /jackrabbit/oak/trunk/oak-solr-core/src/test/resources/logback-test.xml
Date Thu, 16 May 2013 09:01:23 GMT
Author: jukka
Date: Thu May 16 09:01:22 2013
New Revision: 1483259

URL: http://svn.apache.org/r1483259
Log:
OAK-750: Reduce log level of oak-solr-core tests

Include logging configuration I forgot to commit earlier.

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

Added: jackrabbit/oak/trunk/oak-solr-core/src/test/resources/logback-test.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-solr-core/src/test/resources/logback-test.xml?rev=1483259&view=auto
==============================================================================
--- jackrabbit/oak/trunk/oak-solr-core/src/test/resources/logback-test.xml (added)
+++ jackrabbit/oak/trunk/oak-solr-core/src/test/resources/logback-test.xml Thu May 16 09:01:22
2013
@@ -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-solr-core/src/test/resources/logback-test.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message