HyukjinKwon commented on code in PR #36490:
URL: https://github.com/apache/spark/pull/36490#discussion_r868519354


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -2577,8 +2577,9 @@ object SQLConf {
   val PYSPARK_JVM_STACKTRACE_ENABLED =
     buildConf("spark.sql.pyspark.jvmStacktrace.enabled")
       .doc("When true, it shows the JVM stacktrace in the user-facing PySpark 
exception " +
-        "together with Python stacktrace. By default, it is disabled and hides 
JVM stacktrace " +
-        "and shows a Python-friendly exception only.")
+        "together with Python stacktrace. By default, it is disabled to hide 
JVM stacktrace " +
+        "and shows a Python-friendly exception only (Note that is independent 
from log level" +
+        "settings. Set log level to FATAL to see Python exceptions only).")

Review Comment:
   This should be enough. In production, uses won't set the log4j to log in 
their console in general.



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

Reply via email to