From f35a16c19e8d8c851a250a7d713b30ba58dbf5a0 Mon Sep 17 00:00:00 2001 From: Wilder Rodrigues Date: Tue, 13 Oct 2015 15:59:14 +0200 Subject: [PATCH] CLOUDSTACK-8947 - Adding some logging to better understand whay is happening with the Processes --- systemvm/patches/debian/config/opt/cloud/bin/cs/CsProcess.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsProcess.py b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsProcess.py index 19d030b3496..6155f3031d1 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsProcess.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsProcess.py @@ -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):