If you're talking about the driver, don't forget to add the directory containing the log4j.properties to the java classpath when launching the driver.

$SPARK_HOME/conf is added to the classpath of master, workers and executors, so changing the $SPARK_HOME/conf/log4j.properties will work on the nodes, but it has to be explicitly specified for the driver

Guillaume
Hey guys, 

I am trying to disable all forms of logging to the console while running my
application using sbt run...I have tried writing a log4j.properties file in
conf, but can't seem to get it to work. Does anyone know how to accomplish
this?




--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Disable-all-spark-logging-tp1960.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.


--
eXenSa
Guillaume PITEL, Président
+33(0)6 25 48 86 80

eXenSa S.A.S.
41, rue Périer - 92120 Montrouge - FRANCE
Tel +33(0)1 84 16 36 77 / Fax +33(0)9 72 28 37 05

Reply via email to