private void printLog(List<String> lines, int exitCode) {
		if (exitCode != 0) {
			for (String line : lines) {
				logger.error("Spark Logger: " + line);
			}
		}
		else {
			if (logger.isDebugEnabled()) {
				for (String line : lines) {
					logger.debug("Spark Logger: " + line);
				}
			}
		}
	}
Program arguments for the application main class.
extensions/spring-xd-extension-spark/src/main/java/org/springframework/xd/spark/tasklet/SparkTasklet.java