mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
we were using debug logging without checking ifDebugEnabled(), fixing that
This commit is contained in:
parent
fcd7f37839
commit
e79e432807
@ -1496,7 +1496,8 @@ public class StorageManagerImpl implements StorageManager {
|
||||
StoragePoolVO lock = _storagePoolDao.acquireInLockTable(sPool.getId());
|
||||
try {
|
||||
if (lock == null) {
|
||||
s_logger.debug("Failed to acquire lock when deleting StoragePool with ID: " + sPool.getId());
|
||||
if(s_logger.isDebugEnabled())
|
||||
s_logger.debug("Failed to acquire lock when deleting StoragePool with ID: " + sPool.getId());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user