move test output to file for cleaner build logs

- removes the need for special test log4j2.xml
This commit is contained in:
Xavier Léauté 2015-03-11 17:56:14 -07:00
parent 0a5a3fe2dc
commit fc613771d2
2 changed files with 2 additions and 36 deletions

View File

@ -592,6 +592,8 @@
<configuration>
<!-- locale settings must be set on the command line before startup -->
<argLine>-Duser.language=en -Duser.country=US</argLine>
<!-- our tests are very verbose, let's keep the volume down -->
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>

View File

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ Licensed to Metamarkets Group Inc. (Metamarkets) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. Metamarkets 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 status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{ISO8601} %p [%t] %c - %m%n"/>
</Console>
</Appenders>
<Loggers>
<!-- Override log level for testing to reduce output size -->
<Logger name="io.druid.server.coordination.ZkCoordinator" level="warn"/>
<Logger name="io.druid.server.coordination.SingleDataSegmentAnnouncer" level="warn"/>
<Logger name="io.druid.server.coordination.BatchDataSegmentAnnouncer" level="warn"/>
<Root level="info">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>