code.onehippo.org is currently readonly. We are migrating to code.bloomreach.com, please continue working there on Monday 14/12. See: https://docs.bloomreach.com/display/engineering/GitLab

Commit 11f334ee authored by Ard Schrijvers's avatar Ard Schrijvers

REPO-1811 Improve the logging statement

parent cf3a49af
......@@ -263,7 +263,8 @@ public abstract class AbstractLockManager implements InternalLockManager {
final Iterator<Map.Entry<String, MutableLock>> iterator = localLocks.entrySet().iterator();
while (iterator.hasNext()) {
final Map.Entry<String, MutableLock> next = iterator.next();
getLogger().warn("Lock '{}' owned by '{}' was never unlocked. Removing the lock now.", next.getKey(), next.getValue().getLockOwner());
getLogger().warn("Lock '{}' owned by cluster '{}' and thread '{}' was never unlocked. Removing the lock now.",
next.getKey(), next.getValue().getLockOwner(), next.getValue().getLockThread());
releasePersistedLock(next.getKey(), next.getValue().getLockThread());
iterator.remove();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment