Spark – Configure and use log4j

Hello, a little tutorial to configure and use log4j with Scala and Spark

Then create a file called “log4j.properties” and put this code inside

This configuration will log to /var/log/spark.log and on console. I partially review this post: http://blog.quantifind.com/posts/logging-post/

Bye 🙂

Posted in Scala, Spark, Tutorial.