On 08/25/2014 10:54 AM, Mohnish Kodnani wrote:
Hi,
Is there a way to turn off logging for parquet.
Our unit test output is filled with parquet logging and makes reading the
logs really difficult.
I tried using log4j.xml to turn it off but no luck. We are using slf4j in
our project for all logging.
Have you tried setting the "redirectTestOutputToFile" configuration
option for the surefire (junit testing) maven plugin?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
We use this on the Kite project so that the output is sent to a file in
the target/ directory.
rb
--
Ryan Blue
Software Engineer
Cloudera, Inc.