You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mario Grgic (Jira)" <ji...@apache.org> on 2022/08/06 16:44:00 UTC
[jira] [Created] (SPARK-39998) Can't set pyspark log level in log4j2.properties
Mario Grgic created SPARK-39998:
-----------------------------------
Summary: Can't set pyspark log level in log4j2.properties
Key: SPARK-39998
URL: https://issues.apache.org/jira/browse/SPARK-39998
Project: Spark
Issue Type: Question
Components: PySpark
Affects Versions: 3.3.0
Reporter: Mario Grgic
In previous versions of Apache Spark it was possible to configure pyspark log level by adding following line to log4j.properties:
{{log4j.logger.org.apache.spark.api.python.PythonGatewayServer=ERROR}}
With the move to log4j2.properties format, this no longer works. I have tried modifying the above line to:
{{logger.pyspark.name = org.apache.spark.api.python.PythonGatewayServer}}
{{logger.pyspark.level = error}}
but that does not work either.
I would appreciate any help with the correct syntax.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org