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

rgoers pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/release-2.x by this push:
     new 6b4fb8f0d4 fix SystemPropertyArbiter (#955)
6b4fb8f0d4 is described below

commit 6b4fb8f0d463d875ea563e42d2e9cd75f99b0d93
Author: DongjianPeng <[email protected]>
AuthorDate: Wed Jul 13 00:03:13 2022 +0800

    fix SystemPropertyArbiter (#955)
---
 .../logging/log4j/core/config/arbiters/SystemPropertyArbiter.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/arbiters/SystemPropertyArbiter.java
 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/arbiters/SystemPropertyArbiter.java
index 25212a82bd..82b725b823 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/arbiters/SystemPropertyArbiter.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/arbiters/SystemPropertyArbiter.java
@@ -74,11 +74,11 @@ public class SystemPropertyArbiter implements Arbiter {
 
         /**
          * Sets the Property Value.
-         * @param propertyValue the property name.
+         * @param propertyValue the property value.
          * @return this
          */
         public Builder setPropertyValue(final String propertyValue) {
-            this.propertyName = propertyValue;
+            this.propertyValue = propertyValue;
             return asBuilder();
         }
 

Reply via email to