You can change the location where you want to store the logs. I wouldn't suggest you change the whole configuration os Spark. I'd rather suggest you update the location only for the job you want to store the logs in a different location. Try this:
val sc = new SparkContext(new SparkConf())
./bin/spark-submit <all your existing options> --spark.eventLog.dir=<path/to/custom/location>