Rfaulk has submitted this change and it was merged.
Change subject: add - more logging to check_lock method.
......................................................................
add - more logging to check_lock method.
Change-Id: Ida5683e91eed68d409e800be4f7e6c50306862fa
---
M sartoris/sartoris.py
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Rfaulk: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/sartoris/sartoris.py b/sartoris/sartoris.py
index 53dec76..965f410 100755
--- a/sartoris/sartoris.py
+++ b/sartoris/sartoris.py
@@ -242,12 +242,14 @@
self.config['path'],
self.DEPLOY_DIR,
self.LOCK_FILE_HANDLE)
+
+ log.debug('{0}:: Executing - {1}'.format(__name__, cmd))
proc = subprocess.Popen(cmd.split(),
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
result = proc.communicate()[0].split('\n')
+ log.debug('{0}:: Result of {1} - {2}'.format(__name__, cmd, result))
- log.info('{0}:: Executing - {1}'.format(__name__, cmd))
if not proc.returncode:
if result[0].strip() == self.LOCK_FILE_HANDLE:
return True
--
To view, visit https://gerrit.wikimedia.org/r/82215
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ida5683e91eed68d409e800be4f7e6c50306862fa
Gerrit-PatchSet: 1
Gerrit-Project: sartoris
Gerrit-Branch: master
Gerrit-Owner: Rfaulk <[email protected]>
Gerrit-Reviewer: Rfaulk <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits