diff options
-rw-r--r-- | rumba/utils.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rumba/utils.py b/rumba/utils.py index 78a80aa..7e3ec80 100644 --- a/rumba/utils.py +++ b/rumba/utils.py @@ -92,6 +92,10 @@ class ExperimentManager(object): node.fetch_files(self.syslogs, node_dir, self.use_sudo) + def fetch_prototype_logs(self, node, node_dir): + node.fetch_files(self.experiment.prototype_logs, + node_dir, self.use_sudo) + def fetch_syslogs(self): local_dir = self.experiment.log_dir @@ -115,9 +119,10 @@ class ExperimentManager(object): os.mkdir(node_dir) try: fetching_function(node, node_dir) + self.fetch_prototype_logs(node, node_dir) except Exception as e: logger.warning( - 'Could not fetch syslogs of node %s. %s%s', + 'Could not fetch prototype logs of node %s. %s%s', node.name, type(e).__name__, (": " + str(e)) if str(e) != "" else "" |