spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akhil Das <>
Subject Re: how do you turn off info logging when running in local mode
Date Fri, 05 Dec 2014 07:07:49 GMT
Yes, there is away. Just add the following piece of code before creating
the SparkContext.

import org.apache.log4j.Logger
import org.apache.log4j.Level


Best Regards

On Fri, Dec 5, 2014 at 12:48 AM, Ron Ayoub <> wrote:

> I have not yet gotten to the point of running standalone. In my case I'm
> still working on the initial product and I'm running directly in Eclipse
> and I've compiled using the Spark maven project since the downloadable
> spark binaries require Hadoop. With that said, I'm running fine and I have
> things working but the info logging is so verbose in Eclipse that my own
> console logging ultimately gets drowned out. Is there a programmatic way to
> tell Spark to stop logging so much to the console?
> Thanks.

View raw message