Lines Matching refs:log_file
613 log_file = open(self._uncollected_log_file, "w")
614 pickle.dump([], log_file)
615 log_file.close()
1007 log_file = open(self._uncollected_log_file, "r+")
1008 fcntl.flock(log_file, fcntl.LOCK_EX)
1010 uncollected_logs = pickle.load(log_file)
1012 log_file.seek(0)
1013 log_file.truncate()
1014 pickle.dump(uncollected_logs, log_file)
1015 log_file.flush()
1017 fcntl.flock(log_file, fcntl.LOCK_UN)
1018 log_file.close()