DaanHoogland commented on code in PR #8031:
URL: https://github.com/apache/cloudstack/pull/8031#discussion_r1351623632


##########
server/src/main/java/com/cloud/storage/StorageManagerImpl.java:
##########
@@ -1369,7 +1384,7 @@ public void cleanupStorage(boolean recurring) {
                             }
                             _snapshotDao.expunge(snapshotVO.getId());
                         } catch (Exception e) {
-                            s_logger.warn("Unable to destroy snapshot " + 
snapshotVO.getUuid(), e);
+                            s_logger.error(String.format("Unable to destroy 
snapshot [%s] due to: [%s].", snapshotVO.getUuid(), e.getMessage()), e);

Review Comment:
   ```suggestion
                               s_logger.error(String.format("Unable to destroy 
snapshot [%s] due to: [%s].", snapshotVO.getUuid(), e.getMessage()));
                               s_logger.debug(String.format("Unable to destroy 
snapshot [%s].", snapshotVO.getUuid()), e);
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to