You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/08/11 18:11:00 UTC
[jira] [Commented] (SPARK-21711) spark-submit command should accept
log4j configuration parameters for spark client logging.
[ https://issues.apache.org/jira/browse/SPARK-21711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123770#comment-16123770 ]
Sean Owen commented on SPARK-21711:
-----------------------------------
How about configuring the log4j config with -Dlog4j.configuration=... as a command line arg to the JVM? or packaging it in your app? I thought it picked up what you package in your application.
> spark-submit command should accept log4j configuration parameters for spark client logging.
> -------------------------------------------------------------------------------------------
>
> Key: SPARK-21711
> URL: https://issues.apache.org/jira/browse/SPARK-21711
> Project: Spark
> Issue Type: Improvement
> Components: Spark Submit
> Affects Versions: 1.6.0, 2.1.0
> Reporter: Mahesh Ambule
> Priority: Minor
>
> Currently, log4j properties can be specified in spark 'conf' directory in log4j.properties file.
> The spark-submit command can override these log4j properties for driver and executors.
> But it can not override these log4j properties for *spark client * application.
> The user should be able to pass log4j properties for spark client using the spark-submit command.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org