[
https://issues.apache.org/jira/browse/SPARK-9227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635665#comment-14635665
]
Marcelo Vanzin commented on SPARK-9227:
---------------------------------------
A programmatic API for this is overkill.
If you want to do something, I'd suggest making the log level in the default
log4j config a variable, so that you can override it by setting a system
property. No need for API changes to make that work.
> Add option to set logging level in Spark Context Constructor
> ------------------------------------------------------------
>
> Key: SPARK-9227
> URL: https://issues.apache.org/jira/browse/SPARK-9227
> Project: Spark
> Issue Type: Wish
> Reporter: Auberon López
> Priority: Minor
>
> It would be nice to be able to set the logging level in the constructor of a
> Spark Context. This provides a cleaner interface than needing to call
> setLoggingLevel after the context is already created. It would be especially
> helpful in a REPL environment where logging can clutter up the terminal and
> make it confusing for the user.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]