Skip to content

Commit 99885a5

Browse files
weizhouapachedhslove
authored andcommitted
fix build error with LinstorVMSnapshotStrategy
1 parent 911cf71 commit 99885a5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/snapshot/LinstorVMSnapshotStrategy.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@
5454
import org.apache.cloudstack.storage.vmsnapshot.DefaultVMSnapshotStrategy;
5555
import org.apache.cloudstack.storage.vmsnapshot.VMSnapshotHelper;
5656
import org.apache.commons.lang3.StringUtils;
57-
import org.apache.log4j.Logger;
57+
import org.apache.logging.log4j.LogManager;
58+
import org.apache.logging.log4j.Logger;
5859
import org.springframework.stereotype.Component;
5960

6061
@Component
6162
public class LinstorVMSnapshotStrategy extends DefaultVMSnapshotStrategy {
62-
private static final Logger log = Logger.getLogger(LinstorVMSnapshotStrategy.class);
63+
private static final Logger log = LogManager.getLogger(LinstorVMSnapshotStrategy.class);
6364

6465
@Inject
6566
private VMSnapshotHelper _vmSnapshotHelper;

0 commit comments

Comments
 (0)