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

前端 未结 6 2304
旧时难觅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:37

    For shutting down/setting log level programmatically in spark 2.0+

    Logger.getLogger("org.apache.spark").setLevel(Level.OFF);
    

提交回复
热议问题