Lines Matching full:log
53 def __init__(self, clArgs = None, argDB = None, log = None): argument
55 logger.Logger.__init__(self, clArgs, argDB, log)
123 '''This method outputs the action log'''
124 self.actions.output(self.log)
160 def runShellCommand(command, log=None, cwd=None, env=None): argument
161 return Script.runShellCommandSeq([command], log=log, cwd=cwd, env=env)
164 def runShellCommandSeq(commandseq, log=None, cwd=None, env=None): argument
172 if log: log.write('Executing: %s\n' % (command,))
209 …def executeShellCommand(command, checkCommand = None, timeout = 600.0, log = None, lineLimit = 0, … argument
213 …teShellCommandSeq([command], checkCommand=checkCommand, timeout=timeout, log=log, lineLimit=lineLi…
216 …def executeShellCommandSeq(commandseq, checkCommand = None, timeout = 600.0, log = None, lineLimit… argument
221 if log is None:
222 log = logger.Logger.defaultLog
223 def logOutput(log, output, logOutputflg): argument
232 log.write('stdout:\n'+output+'\n')
234 log.write('stdout: '+output+'\n')
236 def runInShell(commandseq, log, cwd, env): argument
239 log.write('Running Executable with threads to time it out at '+str(timeout)+'\n')
247 … (self.output, self.error, self.status) = Script.runShellCommandSeq(commandseq, log, cwd, env)
253 log.write(error)
258 return Script.runShellCommandSeq(commandseq, log, cwd, env)
260 (output, error, status) = runInShell(commandseq, log, cwd, env)
261 output = logOutput(log, output,logOutputflg)
262 logOutput(log, error,logOutputflg)