Commit 3a39090
[SPARK-39785][CORE] Use
### What changes were proposed in this pull request?
This pr just fix the following log4j2 compilation warning:
```
[WARNING] /basedir/spark-source/core/src/main/scala/org/apache/spark/util/logging/DriverLogger.scala:69: [deprecation org.apache.spark.util.logging.DriverLogger.addLogAppender.log4jFileAppender | origin=org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder.withBufferedIo | version=] method withBufferedIo in class Builder is deprecated
```
### Why are the changes needed?
Cleanup log4j2 deprecated api usage
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Pass GitHub Actions
Closes #37193 from LuciferYang/minor-log4j-api.
Authored-by: yangjie01 <[email protected]>
Signed-off-by: Liang-Chi Hsieh <[email protected]>setBufferedIo instead of withBufferedIo to cleanup log4j2 deprecated api usage1 parent 528b9eb commit 3a39090
File tree
1 file changed
+1
-1
lines changed- core/src/main/scala/org/apache/spark/util/logging
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments