forked from D-Net/dnet-hadoop
suppressing hyper verbose spark logs during unit test execution
This commit is contained in:
parent
9b449110c6
commit
bca4a61710
|
@ -0,0 +1,25 @@
|
||||||
|
# Root logger option
|
||||||
|
log4j.rootLogger=DEBUG, stdout
|
||||||
|
|
||||||
|
# Direct log messages to stdout
|
||||||
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||||
|
log4j.appender.stdout.Target=System.out
|
||||||
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||||
|
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
||||||
|
|
||||||
|
# Change this to set Spark log level
|
||||||
|
log4j.logger.org.apache.spark=ERROR
|
||||||
|
log4j.rootCategory=WARN
|
||||||
|
|
||||||
|
# Silence akka remoting
|
||||||
|
log4j.logger.Remoting=WARN
|
||||||
|
|
||||||
|
# Ignore messages below warning level from Jetty, because it's a bit verbose
|
||||||
|
log4j.logger.org.eclipse.jetty=WARN
|
||||||
|
|
||||||
|
log4j.logger.org.apache.hadoop.mapreduce.lib.output.FileOutputCommitterFactory=WARN
|
||||||
|
log4j.logger.org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter=WARN
|
||||||
|
log4j.logger.org.apache.parquet.hadoop.ParquetOutputFormat=WARN
|
||||||
|
log4j.logger.org.apache.parquet.hadoop.InternalParquetRecordWriter=WARN
|
||||||
|
log4j.logger.org.apache.hadoop.io.compress.CodecPool=WARN
|
||||||
|
log4j.logger.org.apache.parquet.hadoop.codec.CodecConfig=WARN
|
Loading…
Reference in New Issue