Lines Matching refs:logf
64 def __init__(self, logf, log_in_keyval): argument
65 self.logf = logf
75 path = os.path.join(logdir, self.logf)
92 def __init__(self, path, logf=None, log_in_keyval=False): argument
93 if not logf:
94 logf = os.path.basename(path)
95 super(logfile, self).__init__(logf, log_in_keyval)
101 r %= (self.path, self.logf, self.log_in_keyval)
107 return (self.path, self.logf) == (other.path, other.logf)
121 return hash((self.path, self.logf))
131 dst = os.path.join(logdir, self.logf, self.path.lstrip('/'))
134 dst = os.path.join(logdir, self.logf)
141 def __init__(self, cmd, logf=None, log_in_keyval=False, compress_log=False): argument
142 if not logf:
143 logf = cmd.replace(" ", "_")
144 super(command, self).__init__(logf, log_in_keyval)
148 self.logf += '.gz'
153 r %= (self.cmd, self.logf, self.log_in_keyval)
159 return (self.cmd, self.logf) == (other.cmd, other.logf)
173 return hash((self.cmd, self.logf))
184 logf_path = os.path.join(logdir, self.logf)
224 command(cmd, logf=cmd.replace(" ", "_") + '.before'))
227 logfile(fname, logf=os.path.basename(fname) + '.before'))
233 command(cmd, logf=cmd.replace(" ", "_") + '.after'))
236 logfile(fname, logf=os.path.basename(fname) + '.after'))
239 self.test_loggables.add(command("df -mP", logf="df"))
244 logf='dmesg',
249 self.boot_loggables.add(logfile('/proc/mounts', logf='proc_mounts'))
251 logf='uname',
256 logf='dlc_images'))
259 logf='dlc_preloaded_images'))
356 logf='unified-log',
362 logf='journal',
471 keyval["sysinfo-" + log.logf] = log.readline(logdir)