Thanks, but I do not to log myself program info, I just do not want spark
output all the info to my console, I want the spark output the log into to
some file which I specified.
On Tue, Mar 11, 2014 at 11:49 AM, Robin Cjc wrote:
> Hi lihu,
>
> you can extends the org.apache.spark.logging class
Hi lihu,
you can extends the org.apache.spark.logging class. Then use the function
like logInfo(). Then will log according to the config in your
log4j.properties.
Best Regards,
Chen Jingci
On Tue, Mar 11, 2014 at 11:36 AM, lihu wrote:
> Hi,
>I use the spark0.9, and when i run the spark-sh
Hi,
I use the spark0.9, and when i run the spark-shell, I can log property
according the log4j.properties in the SPARK_HOME/conf directory.But when I
use the standalone app, I do not know how to log it.
I use the SparkConf to set it, such as:
*val conf = new SparkConf()*
* conf.set("*log4