Repository: logging-log4j2 Updated Branches: refs/heads/master 66b287f46 -> 63323d586
LOG4J2-1121 - remove variables that aren't used Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/d140bd94 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/d140bd94 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/d140bd94 Branch: refs/heads/master Commit: d140bd948b0a9fd1a260ba79836103df1c8d0325 Parents: a536638 Author: Ralph Goers <[email protected]> Authored: Sat Sep 19 23:26:23 2015 -0700 Committer: Ralph Goers <[email protected]> Committed: Sat Sep 19 23:27:26 2015 -0700 ---------------------------------------------------------------------- .../logging/log4j/core/config/LockingReliabilityStrategy.java | 5 ----- 1 file changed, 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/d140bd94/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 7bd92a6..82de1fa 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 @@ -37,11 +37,6 @@ import org.apache.logging.log4j.util.Supplier; * and waits for these threads to finish before allowing the appenders to be stopped. */ public class LockingReliabilityStrategy implements ReliabilityStrategy { - private static final int MAX_RETRIES = 3; - private final AtomicInteger counter = new AtomicInteger(); - private final AtomicBoolean shutdown = new AtomicBoolean(false); - private final Lock shutdownLock = new ReentrantLock(); - private final Condition noLogEvents = shutdownLock.newCondition(); // should only be used when shutdown == true private final LoggerConfig loggerConfig; private final ReadWriteLock reconfigureLock = new ReentrantReadWriteLock(); private volatile boolean isStopping = false;
