XD-1791 Executing SparkSubmit in separate process

did you mean to use logger.error ?