yaooqinn commented on a change in pull request #35048:
URL: https://github.com/apache/spark/pull/35048#discussion_r776132416
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/SparkSessionBuilderSuite.scala
##########
@@ -486,4 +487,83 @@ class SparkSessionBuilderSuite extends SparkFunSuite with
BeforeAndAfterEach wit
}
assert(logAppender.loggingEvents.exists(_.getMessage.getFormattedMessage.contains(msg)))
}
+
+ test("SPARK-37727: Show ignored configurations in debug level logs") {
+ // Create one existing SparkSession to check following logs.
+ SparkSession.builder().master("local").getOrCreate()
+
+ val logAppender = new LogAppender
+ logAppender.setThreshold(Level.DEBUG)
+ withLogAppender(logAppender, level = Some(Level.DEBUG)) {
+ SparkSession.builder()
+ .master("local")
Review comment:
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]