Created
August 6, 2015 11:20
-
-
Save fancellu/7bb961c1467a7b442ee6 to your computer and use it in GitHub Desktop.
Spark shell too chatty, want to turn off logging and can't be bothered to edit log4j files?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Just run this inside the spark shell, no more chatty logs | |
import org.apache.log4j.Logger | |
import org.apache.log4j.Level | |
Logger.getLogger("org").setLevel(Level.OFF) | |
Logger.getLogger("akka").setLevel(Level.OFF) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment