Github user liorchaga commented on the pull request:
https://github.com/apache/spark/pull/4998#issuecomment-78515735
Tried it with extraClassPath. I provided through SPARK_EXECUTOR_OPTS the
log4j.configurationFile property for Log4j 2.x.
In the log config, I declared two file appenders - one for all loggers with
debug level, and another one to our executor code (also with debug level).
Both log files were created, but only the first (for all classes) had data
in it, and it contained logging messages for spark code, not for my code. The
second file was empty.
Once I excluded log4j 1.2 dependencies, I got messages for the executor
code as well.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]