You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2026/03/31 17:46:35 UTC

(spark-kubernetes-operator) branch main updated: [SPARK-56308] Remove invalid `log4j2.contextSelector` from test `log4j2.properties`

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 1678c2e  [SPARK-56308] Remove invalid `log4j2.contextSelector` from test `log4j2.properties`
1678c2e is described below

commit 1678c2eb72fa0c577dc7ae5fbab0aa8567ca2bab
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Tue Mar 31 10:46:24 2026 -0700

    [SPARK-56308] Remove invalid `log4j2.contextSelector` from test `log4j2.properties`
    
    ### What changes were proposed in this pull request?
    
    This PR removes `log4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector` from `spark-operator/src/test/resources/log4j2.properties`.
    
    ### Why are the changes needed?
    
    This property is invalid in `log4j2.properteis`.
    - If we want to use this, `log4j2.component.properties` is the correct place.
    - In this PR, we simply remove this invalid (and no-op) line.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs with the existing tests.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Code (Claude Opus 4.6)
    
    Closes #613 from dongjoon-hyun/SPARK-56308.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 spark-operator/src/test/resources/log4j2.properties | 1 -
 1 file changed, 1 deletion(-)

diff --git a/spark-operator/src/test/resources/log4j2.properties b/spark-operator/src/test/resources/log4j2.properties
index 53b4e9a..612e44c 100644
--- a/spark-operator/src/test/resources/log4j2.properties
+++ b/spark-operator/src/test/resources/log4j2.properties
@@ -47,6 +47,5 @@ appender.rolling.immediateFlush=true
 rootLogger.level=all
 logger.netty.name=io.netty
 logger.netty.level=warn
-log4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
 rootLogger.appenderRef.stdout.ref=STDOUT
 rootLogger.appenderRef.rolling.ref=RollingFile


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org