spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <>
Subject [jira] [Commented] (SPARK-7261) Change default log level to WARN in the REPL
Date Wed, 10 Jun 2015 01:32:01 GMT


Apache Spark commented on SPARK-7261:

User 'zsxwing' has created a pull request for this issue:

> Change default log level to WARN in the REPL
> --------------------------------------------
>                 Key: SPARK-7261
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Shell
>            Reporter: Patrick Wendell
>            Assignee: Shixiong Zhu
>            Priority: Blocker
>              Labels: starter
> We should add a log4j properties file for the repl ( that
has the level of warning. The main reason for doing this is that we now display nice progress
bars in the REPL so the need for task level INFO messages is much less.
> The best way to accomplish this is the following:
> 1. Add a second logging defaults file called that has
log level WARN.
> 2. When logging is initialized, check whether you are inside the REPL. If so, then use
that one:
> 3. The printed message should say something like:
> Using Spark's repl log4j profile: org/apache/spark/
> To adjust logging level use sc.setLogLevel("INFO")

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message