spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akhil Das <ak...@sigmoidanalytics.com>
Subject Re: Changing application log level in standalone cluster
Date Wed, 14 Oct 2015 11:52:49 GMT
You should be able to do that from your application. In the beginning of
the application, just add:

import org.apache.log4j.Loggerimport org.apache.log4j.Level
Logger.getLogger("org").setLevel(Level.OFF)Logger.getLogger("akka").setLevel(Level.OFF)

That will switch off the logs.


Thanks
Best Regards

On Tue, Oct 13, 2015 at 11:30 PM, Tom Graves <tgraves_cs@yahoo.com.invalid>
wrote:

> I would like to change the logging level for my application running on a
> standalone Spark cluster.  Is there an easy way to do that  without
> changing the log4j.properties on each individual node?
>
> Thanks,
> Tom
>

Mime
View raw message