Skip to content

Commit

Permalink
just pass it through from Java Spark Context to the regular Spark Con…
Browse files Browse the repository at this point in the history
…text
  • Loading branch information
holdenk committed Oct 22, 2014
1 parent e6ae26a commit 3429353
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ class JavaSparkContext(val sc: SparkContext)
* @param logLevel The desired log level as a string.
*/
def setLoggingLevel(logLevel: String) = {
Utils.setLoggingLevel(org.apache.log4j.Level.toLevel(logLevel))
sc.setLoggingLevel(logLevel)
}


Expand Down

0 comments on commit 3429353

Please sign in to comment.