Skip to content

Commit 8bb07e1

Browse files
committed
change logging
1 parent 3dcc218 commit 8bb07e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/asteriskjava/lock/Locker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ static void dumpStats()
258258
boolean activity = false;
259259
for (Lockable lockable : lockables)
260260
{
261-
if (lockable.wasLockBlocked() || first)
261+
if (lockable.wasLockBlocked())
262262
{
263263
int waited = lockable.getLockWaited();
264264
int waitTime = lockable.getLockTotalWaitTime();
@@ -279,7 +279,7 @@ static void dumpStats()
279279
if (first || activity)
280280

281281
{
282-
logger.warn("Dump Lock Stats finished. Will dump every minute when there is contention...");
282+
logger.warn("Will dump Lock stats each minute when there is contention...");
283283
first = false;
284284
}
285285
}

0 commit comments

Comments
 (0)