move the log from SaprkConf to SparkContext