diff --git a/esx_service/utils/log_config.py b/esx_service/utils/log_config.py index 517eb4730..dbd9150f8 100644 --- a/esx_service/utils/log_config.py +++ b/esx_service/utils/log_config.py @@ -30,7 +30,7 @@ # since we rely on it to locate log file name after config is loaded. LOG_CONFIG_FILE = "/etc/vmware/vmdkops/log_config.json" -LOG_LEVEL_DEFAULT = 'INFO' +LOG_LEVEL_DEFAULT = 'DEBUG' # Defaults for log files - used to generate conf file if it is missing # Note: log file location should be synced with CI and 'make' diff --git a/esx_service/vmdk_ops.py b/esx_service/vmdk_ops.py index fed320a35..b4f8cf430 100755 --- a/esx_service/vmdk_ops.py +++ b/esx_service/vmdk_ops.py @@ -277,6 +277,7 @@ def cloneVMDK(vm_name, vmdk_path, opts={}, vm_uuid=None, vm_datastore=None): src_vol_info = kv.get_vol_info(src_vmdk_path) datastore = vmdk_utils.get_datastore_from_vmdk_path(vmdk_path) opts["size"] = src_vol_info["size"] + logging.debug("cloneVMDK: src_vol_info[size]=%s", src_vol_info["size"]) error_info, tenant_uuid, tenant_name = auth.authorize(vm_uuid, datastore, auth.CMD_CREATE, opts) if error_info: