Lines Matching refs:filename
131 def _initiateTestLogger(log_path, prefix=None, filename=None, log_severity="INFO"): argument
167 if filename is None:
168 filename = getLogFileTimestamp()
173 idx = filename.rfind('.')
175 idx = len(filename)
177 filename=filename[:idx] + '_' + level + filename[idx:],
219 filename=None, argument
235 if filename is None:
236 filename = getLogFileTimestamp()
238 logger = _initiateTestLogger(log_path, prefix, filename, log_severity)
241 return os.path.join(log_path, filename)
244 def addLogFile(log_path, filename=None, log_severity="INFO"): argument
256 if filename is None:
257 filename = getLogFileTimestamp()
259 fh = logging.FileHandler(os.path.join(log_path, filename))
263 return os.path.join(log_path, filename), fh