Tsuyoshi Ozawa created SPARK-19207:
--------------------------------------

             Summary: LocalSparkSession should use Slf4JLoggerFactory.INSTANCE 
instead of creating new object via constructor
                 Key: SPARK-19207
                 URL: https://issues.apache.org/jira/browse/SPARK-19207
             Project: Spark
          Issue Type: Improvement
            Reporter: Tsuyoshi Ozawa


It's deprecated to create Slf4JLoggerFactory's instance via constructor. A 
warning is generated:
{code}
[warn] 
/Users/ozawa/workspace/spark/sql/core/src/test/scala/org/apache/spark/sql/LocalSparkSession.scala:32:
 constructor Slf4JLoggerFactory in class Slf4JLoggerFactory is deprecated: see 
corresponding Javadoc for more information.
[warn]     InternalLoggerFactory.setDefaultFactory(new Slf4JLoggerFactory())
{code}



--
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