Skip to content

Instantly share code, notes, and snippets.

@EugeneLoy
Created March 16, 2017 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EugeneLoy/8918bc476a500d3b3de13315dbe4ab19 to your computer and use it in GitHub Desktop.
Save EugeneLoy/8918bc476a500d3b3de13315dbe4ab19 to your computer and use it in GitHub Desktop.
Silence Spark logging
import org.apache.log4j.Logger
import org.apache.log4j.Level
Logger.getLogger("org").setLevel(Level.ERROR)
Logger.getLogger("akka").setLevel(Level.ERROR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment