Spark application logging

When coding a spark application, we often want to write some application logs to trace or track our application’s progress.…