Commit 1431a4a
[SPARK-37887][CORE] Fix the check of repl log level
### What changes were proposed in this pull request?
This patch fixes the check of repl's log level. So we can correctly know if the repl class is set with log level or not.
### Why are the changes needed?
Same as the check in `SparkShellLoggingFilter`, `getLevel` cannot be used anymore to check if the log level is set or not for a logger in log4j2.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Manual verified locally.
Closes #35198 from viirya/SPARK-37887.
Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>1 parent f7dd37c commit 1431a4a
File tree
1 file changed
+16
-12
lines changed- core/src/main/scala/org/apache/spark/internal
1 file changed
+16
-12
lines changedLines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
158 | 162 | | |
159 | 163 | | |
160 | 164 | | |
| |||
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
232 | 247 | | |
233 | 248 | | |
234 | 249 | | |
| |||
267 | 282 | | |
268 | 283 | | |
269 | 284 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | 285 | | |
282 | 286 | | |
283 | 287 | | |
| |||
0 commit comments