[asterisk-commits] mjordan: testsuite/asterisk/trunk r3175 - /asterisk/trunk/lib/python/asterisk/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 12 09:09:12 CDT 2012
Author: mjordan
Date: Thu Apr 12 09:09:08 2012
New Revision: 3175
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3175
Log:
Added additional temporary debugging to CLI commands
This is to debug failures on the 32-big CentOS 6 instance
Modified:
asterisk/trunk/lib/python/asterisk/asterisk.py
Modified: asterisk/trunk/lib/python/asterisk/asterisk.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/asterisk.py?view=diff&rev=3175&r1=3174&r2=3175
==============================================================================
--- asterisk/trunk/lib/python/asterisk/asterisk.py (original)
+++ asterisk/trunk/lib/python/asterisk/asterisk.py Thu Apr 12 09:09:08 2012
@@ -60,6 +60,9 @@
""" Callback from getProcessOutputAndValue """
self.__set_properties(result)
logger.debug("Asterisk CLI %s exited %d" % (self.host, self.exitcode))
+ logger.debug(self.output)
+ if self.err:
+ logger.debug(self.err)
if self.exitcode:
self.__deferred.errback(self)
else:
@@ -69,6 +72,9 @@
""" Errback from getProcessOutputAndValue """
self.__set_properties(result)
logger.warning("Asterisk CLI %s exited %d with error: %s" % (self.host, self.exitcode, self.err))
+ logger.debug(self.output)
+ if self.err:
+ logger.debug(self.err)
self.__deferred.errback(self)
self.__deferred = defer.Deferred()
@@ -241,7 +247,6 @@
logger.error("Asterisk core waitfullybooted for %s failed" % self.host)
self.__start_deferred.errback("Command core waitfullybooted failed")
else:
- logger.debug(cli_command.output)
logger.debug("Asterisk core waitfullybooted failed, attempting again...")
cli_deferred = self.cli_exec("core waitfullybooted")
cli_deferred.addCallbacks(__wait_fully_booted_callback, __wait_fully_booted_error)
More information about the asterisk-commits
mailing list