Move Logging before org.apache.spark.executor.ExecutorExitCode