How to set up logging level for Spark application in IntelliJ IDEA?

前端 未结 6 2746
旧时难觅i
旧时难觅i 2021-02-20 04:25

I\'m working on a Scala project in IntelliJ that was created through SBT. The project has Spark as one of its dependencies. I\'m still in the development phase so everything is

6条回答
  •  悲哀的现实
    2021-02-20 04:31

    Put your log4j.properties file under a directory marked as resources, spark will read this log4j configuration.

提交回复
热议问题