org.apache.log4j.Logger
> import org.apache.log4j.Level
>
> Logger.getLogger("org").setLevel(Level.OFF)
> Logger.getLogger("akka").setLevel(Level.OFF)
>
> You won't see any logs after that.
>
>
>
>
> --
> View this message in con
org.apache.log4j.Level
Logger.getLogger("org").setLevel(Level.OFF)
Logger.getLogger("akka").setLevel(Level.OFF)
You won't see any logs after that.
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/disable-log4j-for-spark-shell-tp11278p21010.
FYI its --driver-java-options "-Dkey=value"
no equal sign between the flag and the arguments.
Chewed up some time figuring that out.
Bobby
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/disable-log4j-for-spark-shell-tp11278p21003.html
Sen
-- Forwarded message --
From: Ritesh Kumar Singh
Date: Tue, Nov 11, 2014 at 2:18 PM
Subject: Re: disable log4j for spark-shell
To: lordjoe
Cc: u...@spark.incubator.apache.org
go to your spark home and then into the conf/ directory and then edit the
log4j.properties file i.e
gger = Logger.getRootLogger();
> rootLogger.setLevel(Level.WARN);
> ...
> works for me
>
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/disable-log4j-for-spark-shell-tp11278p18535.html
> Sent from t
st.1001560.n3.nabble.com/disable-log4j-for-spark-shell-tp11278p18535.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional comman
SparkIMain$exprTyper=WARN
log4j.logger.org.apache.spark.repl.SparkILoop$SparkILoopInterpreter=WARN
Any suggestions?
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/disable-log4j-for-spark-shell-tp11278p18520.html
Sent from the Apache Spark User List mai
Even after changing
core/src/main/resources/org/apache/spark/log4j-defaults.properties to WARN
followed by a rebuild, the log level is still INFO.
Any other suggestions?
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/disable-log4j-for-spark-shell
Tried --driver-java-options and SPARK_JAVA_OPTS, none of them worked
Had to change the default one and rebuilt.
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/disable-log4j-for-spark-shell-tp11278p18513.html
Sent from the Apache Spark User List mailing
sonally find setting
PRINT_SPARK_LAUNCH_COMMAND=1 very very useful when I'm trying to track a
property)
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/disable-log4j-for-spark-shell-tp11278p12942.html
Sent from the Apache Spark User List mailing l
u can go
> and
> modify the log level in there. The spark shells should pick this up.
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/disable-log4j-for-spark-shell-tp11278p12850.html
Sent from the Apache Spark User List mailing list a
If you want to customize the logging behavior - the simplest way is to copy
conf/log4j.properties.tempate to conf/log4j.properties. Then you can go and
modify the log level in there. The spark shells should pick this up.
On Sun, Aug 3, 2014 at 6:16 AM, Sean Owen wrote:
> That's just a templat
That's just a template. Nothing consults that file by default.
It's looking inside the Spark .jar. If you edit
core/src/main/resources/org/apache/spark/log4j-defaults.properties and
rebuild Spark, it will pick up those changes.
I think you could also use the JVM argument
"-Dlog4j.configuration=co
Hi,
I would like to run spark-shell without any INFO messages printed.
To achieve this I edited /conf/log4j.properties and added line
log4j.rootLogger=OFF
that suppose to disable all logging.
However, when I run ./spark-shell I see the message
4/08/03 16:02:15 INFO SecurityManager: Using Spar
14 matches
Mail list logo