SparkContext.
setLogLevel
Control our logLevel. This overrides any user-defined log settings. Valid log levels include: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
New in version 1.4.0.
The desired log level as a string.
Examples
>>> sc.setLogLevel("WARN") # doctest :+SKIP