CLOUDSTACK-8947 - Adding some logging to better understand whay is happening with the Processes

This commit is contained in:
Wilder Rodrigues 2015-10-13 15:59:14 +02:00
parent 80b51a7972
commit f35a16c19e
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ class CsProcess(object):
matches = len([m for m in proc if m in self.search])
if matches == items:
self.pid.append(re.split("\s+", i)[1])
logging.debug("CsProcess:: Searching for process ==> %s and found PIDs ==> %s", self.search, self.pid)
return self.pid
def find(self):