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/master Commit: beb9e8c3c5f24b48fb88e510ccd86afcfbb3700a Parents: 2da0091 Author: Ralph Goers <[email protected]> Authored: Sat Sep 19 23:33:40 2015 -0700 Committer: Ralph Goers <[email protected]> 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;
