test logger in SparkPi