[ 
https://issues.apache.org/jira/browse/SPARK-15681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xin Wu updated SPARK-15681:
---------------------------
    Description: 
Currently SparkContext API setLogLevel(level: String) can not handle lower case 
or mixed case input string. But org.apache.log4j.Level.toLevel can take 
lowercase or mixed case. 


  was:
Currently SparkContext API setLogLevel(level: String) can not handle lower case 
or mixed case input string. But org.apache.log4j.Level.toLevel can take 
lowercase or mixed case. 

Also resetLogLevel to original configuration could be helpful for users to 
switch  log level for different diagnostic purposes.




> Allow case-insensitiveness in sc.setLogLevel
> --------------------------------------------
>
>                 Key: SPARK-15681
>                 URL: https://issues.apache.org/jira/browse/SPARK-15681
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.0.0
>            Reporter: Xin Wu
>            Priority: Minor
>
> Currently SparkContext API setLogLevel(level: String) can not handle lower 
> case or mixed case input string. But org.apache.log4j.Level.toLevel can take 
> lowercase or mixed case. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to