Re: Changing application log level in standalone cluster

2015-10-14 Thread Akhil Das
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 
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
>


Changing application log level in standalone cluster

2015-10-13 Thread Tom Graves
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