You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "warrenzhu25 (via GitHub)" <gi...@apache.org> on 2023/09/26 16:16:54 UTC

[GitHub] [spark] warrenzhu25 commented on a diff in pull request #42999: [SPARK-45217][CORE] Support change log level of specific package or class

warrenzhu25 commented on code in PR #42999:
URL: https://github.com/apache/spark/pull/42999#discussion_r1337472499


##########
core/src/main/scala/org/apache/spark/SparkContext.scala:
##########
@@ -401,6 +402,23 @@ class SparkContext(config: SparkConf) extends Logging {
     }
   }
 
+  /** Change logLevel of specific package or class name.
+   *  This overrides any user-defined log settings.
+   *
+   * @param loggerName package or class name such as "org.apache.spark" or
+   *                   "org.apache.spark.SparkContext"
+   * @param logLevel The desired log level as a string.
+   *                 Valid log levels include: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
+   */

Review Comment:
   Added since. I'll add this in Pyspark in followup PR.



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org