diff options
author | Stephen Haberman <stephen@exigencecorp.com> | 2013-02-01 21:21:44 -0600 |
---|---|---|
committer | Stephen Haberman <stephen@exigencecorp.com> | 2013-02-01 21:21:44 -0600 |
commit | 12c1eb47568060efac57d6df7df7e5704a8d3fab (patch) | |
tree | 135a9005fee295e8f0bd8d3f119695e927882173 | |
parent | 8b3041c7233011c4a96fab045a86df91eae7b6f3 (diff) | |
download | spark-12c1eb47568060efac57d6df7df7e5704a8d3fab.tar.gz spark-12c1eb47568060efac57d6df7df7e5704a8d3fab.tar.bz2 spark-12c1eb47568060efac57d6df7df7e5704a8d3fab.zip |
Reduce the amount of duplicate logging Akka does to stdout.
Given we have Akka logging go through SLF4j to log4j, we don't need
all the extra noise of Akka's stdout logger that is supposedly only
used during Akka init time but seems to continue logging lots of
noisy network events that we either don't care about or are in the
log4j logs anyway.
See:
http://doc.akka.io/docs/akka/2.0/general/configuration.html
# Log level for the very basic logger activated during AkkaApplication startup
# Options: ERROR, WARNING, INFO, DEBUG
# stdout-loglevel = "WARNING"
-rw-r--r-- | core/src/main/scala/spark/util/AkkaUtils.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/scala/spark/util/AkkaUtils.scala b/core/src/main/scala/spark/util/AkkaUtils.scala index e0fdeffbc4..e43fbd6b1c 100644 --- a/core/src/main/scala/spark/util/AkkaUtils.scala +++ b/core/src/main/scala/spark/util/AkkaUtils.scala @@ -30,6 +30,7 @@ private[spark] object AkkaUtils { val akkaConf = ConfigFactory.parseString(""" akka.daemonic = on akka.event-handlers = ["akka.event.slf4j.Slf4jEventHandler"] + akka.stdout-loglevel = "ERROR" akka.actor.provider = "akka.remote.RemoteActorRefProvider" akka.remote.transport = "akka.remote.netty.NettyRemoteTransport" akka.remote.log-remote-lifecycle-events = on |