moved to __init__
@@ -102,6 +102,7 @@ class TextualDevice(object):
msg = "Created device '{}' as instance of class '{}.{}'.".format(self.name, self.__class__.__module__,
self.__class__.__name__)
self._log(level=logging.INFO, msg=msg)
+ self._log(logging.DEBUG, self._reverse_state_prompts_dict)
def calc_timeout_for_command(self, passed_timeout, configurations):
command_timeout = None
@@ -528,7 +529,6 @@ class TextualDevice(object):
})
self._prompts_event.start()
- self._log(logging.DEBUG, self._reverse_state_prompts_dict)
def _prepare_reverse_state_prompts_dict(self):
for state in self._state_prompts.keys():
