CLOUDSTACK-9039: Fix paths for logging Ubuntu Management.

This commit is contained in:
Boris Schrijver 2015-11-05 16:30:14 +01:00
parent f948e96299
commit acd49d801b
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class serviceCfgBase(object):
except: except:
logging.debug(formatExceptionInfo()) logging.debug(formatExceptionInfo())
if self.syscfg.env.mode == "Server": if self.syscfg.env.mode == "Server":
raise CloudRuntimeException("Configure %s failed, Please check the /var/log/cloudstack/setupManagement.log for detail"%self.serviceName) raise CloudRuntimeException("Configure %s failed, Please check the /var/log/cloudstack/management/setupManagement.log for detail"%self.serviceName)
else: else:
raise CloudRuntimeException("Configure %s failed, Please check the /var/log/cloudstack/agent/setup.log for detail"%self.serviceName) raise CloudRuntimeException("Configure %s failed, Please check the /var/log/cloudstack/agent/setup.log for detail"%self.serviceName)

View File

@ -124,4 +124,4 @@ class cloudManagementConfig(serviceCfgBase):
if self.syscfg.svo.enableService("cloudstack-management"): if self.syscfg.svo.enableService("cloudstack-management"):
return True return True
else: else:
raise CloudRuntimeException("Failed to configure %s, please see the /var/log/cloudstack/setupManagement.log for detail"%self.serviceName) raise CloudRuntimeException("Failed to configure %s, please see the /var/log/cloudstack/management/setupManagement.log for detail"%self.serviceName)