HyukjinKwon commented on a change in pull request #26357: [SPARK-29711][SQL]
Support dynamic adjust sql class log level
URL: https://github.com/apache/spark/pull/26357#discussion_r341909771
##########
File path: core/src/main/scala/org/apache/spark/SparkContext.scala
##########
@@ -380,6 +380,15 @@ class SparkContext(config: SparkConf) extends Logging {
Utils.setLogLevel(org.apache.log4j.Level.toLevel(upperCased))
}
+ def setLogLevel(logLevel: String, className: String): Unit = {
Review comment:
I am not sure about this one. `setLogLevel` is basically just for quick
debugging purpose in a shell in general. If we want some more complicated log
settings, it should go for log4j.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]