-
- Downloads
Suppress log messages in sbt test with two changes:
1. Set akka log level to ERROR before shutting down the actorSystem. This avoids akka log messages (like Spray) from falling back to INFO on the Stdout logger 2. Initialize netty to use SLF4J in LocalSparkContext. This ensures that stack trace thrown during shutdown is handled by SLF4J instead of stdout
Showing
- core/src/main/scala/spark/SparkEnv.scala 2 additions, 0 deletionscore/src/main/scala/spark/SparkEnv.scala
- core/src/main/scala/spark/deploy/LocalSparkCluster.scala 4 additions, 0 deletionscore/src/main/scala/spark/deploy/LocalSparkCluster.scala
- core/src/test/scala/spark/FileServerSuite.scala 0 additions, 1 deletioncore/src/test/scala/spark/FileServerSuite.scala
- core/src/test/scala/spark/LocalSparkContext.scala 10 additions, 1 deletioncore/src/test/scala/spark/LocalSparkContext.scala
Please register or sign in to comment