This is an automated email from the ASF dual-hosted git repository.

weizhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 3a5c4a0cba5 fix build error with LinstorVMSnapshotStrategy
3a5c4a0cba5 is described below

commit 3a5c4a0cba53c1b09d777af7331b88dd5a0627a2
Author: Wei Zhou <[email protected]>
AuthorDate: Fri Jun 14 23:03:03 2024 +0200

    fix build error with LinstorVMSnapshotStrategy
---
 .../cloudstack/storage/snapshot/LinstorVMSnapshotStrategy.java       | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/snapshot/LinstorVMSnapshotStrategy.java
 
b/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/snapshot/LinstorVMSnapshotStrategy.java
index af7b6978db5..0fa5e3120f6 100644
--- 
a/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/snapshot/LinstorVMSnapshotStrategy.java
+++ 
b/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/snapshot/LinstorVMSnapshotStrategy.java
@@ -54,12 +54,13 @@ import org.apache.cloudstack.storage.to.VolumeObjectTO;
 import org.apache.cloudstack.storage.vmsnapshot.DefaultVMSnapshotStrategy;
 import org.apache.cloudstack.storage.vmsnapshot.VMSnapshotHelper;
 import org.apache.commons.lang3.StringUtils;
-import org.apache.log4j.Logger;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
 import org.springframework.stereotype.Component;
 
 @Component
 public class LinstorVMSnapshotStrategy extends DefaultVMSnapshotStrategy {
-    private static final Logger log = 
Logger.getLogger(LinstorVMSnapshotStrategy.class);
+    private static final Logger log = 
LogManager.getLogger(LinstorVMSnapshotStrategy.class);
 
     @Inject
     private VMSnapshotHelper _vmSnapshotHelper;

Reply via email to