Skip to content

Commit 90b38d5

Browse files
author
Dahn Highland
committed
logger
1 parent e781cdb commit 90b38d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/DatacenterMO.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public VirtualMachineMO findVmEx(String vmName) throws Exception {
8585
public VirtualMachineMO findVm(String vmName) throws Exception {
8686
int key = getCustomFieldKey("VirtualMachine", CustomFieldConstants.CLOUD_VM_INTERNAL_NAME);
8787
if (key == 0) {
88-
logger.warn("Custom field " + CustomFieldConstants.CLOUD_VM_INTERNAL_NAME + " is not registered ?!");
88+
s_logger.warn("Custom field " + CustomFieldConstants.CLOUD_VM_INTERNAL_NAME + " is not registered ?!");
8989
}
9090
String instanceNameCustomField = "value[" + key + "]";
9191
List<ObjectContent> ocs = getVmPropertiesOnDatacenterVmFolder(new String[] {"name", instanceNameCustomField});

0 commit comments

Comments
 (0)