Skip to content

Commit f41c934

Browse files
committed
Fix build error with MigrateKVMAsync
1 parent e61f3ba commit f41c934

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/MigrateKVMAsync.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
import java.util.Set;
2323
import java.util.concurrent.Callable;
2424

25-
import org.apache.log4j.Logger;
25+
import org.apache.logging.log4j.LogManager;
26+
import org.apache.logging.log4j.Logger;
2627
import org.libvirt.Connect;
2728
import org.libvirt.Domain;
2829
import org.libvirt.LibvirtException;
@@ -31,7 +32,7 @@
3132
import org.libvirt.TypedUlongParameter;
3233

3334
public class MigrateKVMAsync implements Callable<Domain> {
34-
protected Logger logger = Logger.getLogger(getClass());
35+
protected Logger logger = LogManager.getLogger(getClass());
3536

3637
private final LibvirtComputingResource libvirtComputingResource;
3738

0 commit comments

Comments
 (0)