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 <[email protected]> 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 >
