You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Sumit Khanna <su...@askme.in> on 2016/08/08 04:09:17 UTC
silence the spark debug logs
Hello,
I dont want to print the all spark logs, but say a few only, e.g just the
executions plans etc etc. How do I silence the spark debug ?
Thanks,
Sumit
Re: silence the spark debug logs
Posted by Sachin Janani <sj...@snappydata.io>.
Hi,
You can switch of the logs by setting log level to off as follows:
import org.apache.log4j.Loggerimport org.apache.log4j.Level
Logger.getLogger("org").setLevel(Level.OFF)Logger.getLogger("akka").setLevel(Level.OFF)
Regards,
Sachin J
On Mon, Aug 8, 2016 at 9:39 AM, Sumit Khanna <su...@askme.in> wrote:
> Hello,
>
> I dont want to print the all spark logs, but say a few only, e.g just the
> executions plans etc etc. How do I silence the spark debug ?
>
> Thanks,
> Sumit
>