Lines Matching refs:logfile
34 self.logfile = None
43 if self.logfile:
44 with open(self.logfile, "a") as f:
47 def _run(self, command, timeout=None, logfile=None): argument
48 self.logfile = logfile
88 def run(self, command, timeout=None, logfile=None): argument
90 self._run(command, timeout, logfile)
101 def __init__(self, ip, logfile=None, timeout=300, user='root', port=None): argument
105 self.logfile = logfile
119 if self.logfile:
120 with open(self.logfile, "a") as f:
127 status, output = proc.run(command, timeout, logfile=self.logfile)