pyspark.SparkContext.setLogLevel

SparkContext.setLogLevel(logLevel: str) → None[source]

Control our logLevel. This overrides any user-defined log settings. Valid log levels include: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN