GitHub user liancheng opened a pull request:
https://github.com/apache/spark/pull/8196
[SPARK-8118] [SQL] Redirects Parquet JUL logger via SLF4J
Parquet hard coded a JUL logger which always writes to stdout. This PR
redirects it via SLF4j JUL bridge handler, so that we can control Parquet logs
via `log4j.properties`.
This solution is inspired by
https://github.com/Parquet/parquet-mr/issues/390#issuecomment-46064909.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liancheng/spark
spark-8118/redirect-parquet-jul
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8196.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #8196
----
commit f2316e7711f875c385a42c0194a16c98107509b5
Author: Cheng Lian <[email protected]>
Date: 2015-08-14T10:34:42Z
Redirects Parquet JUL logger via SLF4J
----
---
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]