Lines Matching refs:logdir
56 def readline(self, logdir): argument
63 path = os.path.join(logdir, self.logf)
70 def run(self, logdir): argument
112 def run(self, logdir): argument
119 dst = os.path.join(logdir, self.logf, self.path.lstrip('/'))
122 dst = os.path.join(logdir, self.logf)
162 def run(self, logdir): argument
170 logf_path = os.path.join(logdir, self.logf)
291 logdir = os.path.join(self._get_sysinfodir(test.outputdir), iter_dir)
292 if not os.path.exists(logdir):
293 os.mkdir(logdir)
294 return logdir
300 logdir = self._get_boot_subdir(next=True)
301 if not os.path.exists(logdir):
302 os.mkdir(logdir)
306 logdir)
309 installed_path = os.path.join(logdir, "installed_packages")
396 logdir = self._get_iteration_subdir(test, iteration)
397 _run_loggables_ignoring_errors(self.before_iteration_loggables, logdir)
402 utils.system('logger "autotest starting iteration %s on %s"' % (logdir,
416 logdir = self._get_iteration_subdir(test, iteration)
417 _run_loggables_ignoring_errors(self.after_iteration_loggables, logdir)
418 utils.system('logger "autotest finished iteration %s"' % logdir,
422 def _log_messages(self, logdir): argument
433 out_messages = open(os.path.join(logdir, "messages"), "w")
441 def _log_journal(self, logdir): argument
449 with open(os.path.join(logdir, "journal"), "w") as journal:
456 def _read_sysinfo_keyvals(loggables, logdir): argument
460 keyval["sysinfo-" + log.logf] = log.readline(logdir)