spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maciej Bryński (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SPARK-11929) spark-shell log level customization is lost if user provides a log4j.properties file
Date Tue, 17 May 2016 11:19:12 GMT

    [ https://issues.apache.org/jira/browse/SPARK-11929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15286416#comment-15286416
] 

Maciej Bryński commented on SPARK-11929:
----------------------------------------

[~vanzin]
Could you check: https://issues.apache.org/jira/browse/SPARK-15344

> spark-shell log level customization is lost if user provides a log4j.properties file
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-11929
>                 URL: https://issues.apache.org/jira/browse/SPARK-11929
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core, Spark Shell
>            Reporter: Marcelo Vanzin
>            Assignee: Marcelo Vanzin
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> {{Logging.scala}} has code that defines the default log level for the spark-shell to
WARN, to avoid lots of noise in the output.
> But if a user provides a log4j.properies file in the Spark configuration, that customization
is lost. That means that without a log4j.properties, there are two different configurations
(one for regular apps, one for the shell). But if you have a custom file, you lose the ability
to easily differentiate between those two, and you're stuck with a single config for both.
> It would be nice to allow different configurations also in the second case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message