You can create log4j.properties for executors, and use "--files
log4j.properties" when submitting spark jobs.

On Mon, Feb 29, 2016 at 1:50 PM, Niranda Perera <niranda.per...@gmail.com>
wrote:

> Hi all,
>
> Is there any possibility to control the stdout and stderr streams in an
> executor JVM?
>
> I understand that there are some configurations provided from the spark
> conf as follows
> spark.executor.logs.rolling.maxRetainedFiles
> spark.executor.logs.rolling.maxSize
> spark.executor.logs.rolling.strategy
> spark.executor.logs.rolling.time.interval
>
> But is there a possibility to have more fine grained control over these,
> like we do in a log4j appender, with a property file?
>
> Rgds
> --
> Niranda
> @n1r44 <https://twitter.com/N1R44>
> +94-71-554-8430
> https://pythagoreanscript.wordpress.com/
>



-- 
Best Regards

Jeff Zhang

Reply via email to