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 fr...@apache.org on 2016/09/07 15:45:55 UTC
svn commit: r1759626 - in /jackrabbit/oak/trunk/oak-segment-tar: pom.xml
src/test/resources/logback-test.xml
Author: frm
Date: Wed Sep 7 15:45:55 2016
New Revision: 1759626
URL: http://svn.apache.org/viewvc?rev=1759626&view=rev
Log:
OAK-4707 - Redirect test output to individual report files
Modified:
jackrabbit/oak/trunk/oak-segment-tar/pom.xml
jackrabbit/oak/trunk/oak-segment-tar/src/test/resources/logback-test.xml
Modified: jackrabbit/oak/trunk/oak-segment-tar/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-segment-tar/pom.xml?rev=1759626&r1=1759625&r2=1759626&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-segment-tar/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-segment-tar/pom.xml Wed Sep 7 15:45:55 2016
@@ -105,6 +105,7 @@
<standby.server.port>${standby.server.port}</standby.server.port>
<standby.proxy.port>${standby.proxy.port}</standby.proxy.port>
</systemPropertyVariables>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>
@@ -116,6 +117,7 @@
<standby.server.port>${standby.server.port}</standby.server.port>
<standby.proxy.port>${standby.proxy.port}</standby.proxy.port>
</systemPropertyVariables>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
<executions>
<execution>
Modified: jackrabbit/oak/trunk/oak-segment-tar/src/test/resources/logback-test.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-segment-tar/src/test/resources/logback-test.xml?rev=1759626&r1=1759625&r2=1759626&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-segment-tar/src/test/resources/logback-test.xml (original)
+++ jackrabbit/oak/trunk/oak-segment-tar/src/test/resources/logback-test.xml Wed Sep 7 15:45:55 2016
@@ -1,39 +1,29 @@
- <!--
- 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.
- -->
+<!--
+ 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>
-
+ <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>
+
+ <logger name="org.apache.jackrabbit.oak.segment.standby" level="DEBUG" />
+
+ <root level="INFO">
+ <appender-ref ref="console"/>
+ </root>
</configuration>