suppressing hyper verbose spark logs during unit test execution

This commit is contained in:
Claudio Atzori 2022-09-23 15:19:50 +02:00
parent e6d788d27a
commit c01d528ab2
1 changed files with 8 additions and 1 deletions

View File

@ -6,3 +6,10 @@ 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=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