debug for CommandTextualGeneric inon_timeout
@@ -244,6 +244,16 @@ class CommandTextualGeneric(Command):
:return: Nothing.
"""
+ msg = "Timeout when command_string='{}', _cmd_escaped='{}', _cmd_output_started='{}', ret_required='{}', "
+ "break_on_timeout='{}', _last_not_full_line='{}'_re_prompt='{}', do_not_process_after_done='{}', "
+ "newline_after_command_string='{}', wait_for_prompt_on_exception='{}' _stored_exception='{}',"
+ "current_ret='{}', _newline_chars='{}'."
+ msg = msg.format(
+ self.__command_string, self._cmd_escaped, self._cmd_output_started, self.ret_required,
+ self.break_on_timeout, self._last_not_full_line, self._re_prompt, self.do_not_process_after_done,
+ self.newline_after_command_string, self.wait_for_prompt_on_exception, self._stored_exception,
+ self.current_ret, self._newline_chars)
+ self._log(logging.DEBUG, msg, levels_to_go_up=2)
if self.break_on_timeout:
self.break_cmd()
