You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2015/09/20 08:33:53 UTC

logging-log4j2 git commit: LOG4J2-1121 Update javadoc comment

Repository: logging-log4j2
Updated Branches:
  refs/heads/LOG4J2-1121B-ReliabilityStrategy 2da0091ac -> beb9e8c3c


LOG4J2-1121 Update javadoc comment


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/beb9e8c3
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/beb9e8c3
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/beb9e8c3

Branch: refs/heads/LOG4J2-1121B-ReliabilityStrategy
Commit: beb9e8c3c5f24b48fb88e510ccd86afcfbb3700a
Parents: 2da0091
Author: Ralph Goers <rg...@nextiva.com>
Authored: Sat Sep 19 23:33:40 2015 -0700
Committer: Ralph Goers <rg...@nextiva.com>
Committed: Sat Sep 19 23:33:40 2015 -0700

----------------------------------------------------------------------
 .../logging/log4j/core/config/LockingReliabilityStrategy.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/beb9e8c3/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LockingReliabilityStrategy.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LockingReliabilityStrategy.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LockingReliabilityStrategy.java
index b623f65..f518ba1 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LockingReliabilityStrategy.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LockingReliabilityStrategy.java
@@ -28,8 +28,7 @@ import org.apache.logging.log4j.message.Message;
 import org.apache.logging.log4j.util.Supplier;
 
 /**
- * ReliabilityStrategy that counts the number of threads that have started to log an event but have not completed yet,
- * and waits for these threads to finish before allowing the appenders to be stopped.
+ * ReliabilityStrategy that uses read/write locks to prevent the LoggerConfig from stopping while it is in use.
  */
 public class LockingReliabilityStrategy implements ReliabilityStrategy {
     private final LoggerConfig loggerConfig;