forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-37792][CORE] Fix the check of custom configuration in SparkShe…
…llLoggingFilter ### What changes were proposed in this pull request? This patch fixes the way we check if the log came from root or some custom configuration in `SparkShellLoggingFilter`. ### Why are the changes needed? Previously in log4j 1.x the way we check if the log came from root or some custom configuration in `SparkShellLoggingFilter` does not work with log4j 2 now. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Manual test Closes apache#35080 from viirya/SPARK-37792. Authored-by: Liang-Chi Hsieh <viirya@gmail.com> Signed-off-by: Kousuke Saruta <sarutak@oss.nttdata.com>
- Loading branch information
Showing
3 changed files
with
42 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters