Spark, Scala, Java, Big Data, Data Science.
console target to SYSTEM_OUT, replacing the default SYSTEM_ERR, which prevents Spark logs from appearing as [error]. Add this file to the src/main/resources directory with the name log4j2.properties and rerun the project. The output is then: updated output after adding the log4j2.properties file