summaryrefslogtreecommitdiff
path: root/rdiff-backup
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-08-08 02:22:10 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-08-08 02:22:10 +0000
commit867d5159b225602aa3e185fc66c73318d51ae3b0 (patch)
tree8fda7aa53257b4807289865e3a231595576e21f1 /rdiff-backup
parent268460065af46ce3450b80fae2d5b6e9dd114d2c (diff)
downloadrdiff-backup-867d5159b225602aa3e185fc66c73318d51ae3b0.tar.gz
Flush logfile after each entry is written
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@600 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup')
-rw-r--r--rdiff-backup/rdiff_backup/log.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/log.py b/rdiff-backup/rdiff_backup/log.py
index 7d4b9be..51793bf 100644
--- a/rdiff-backup/rdiff_backup/log.py
+++ b/rdiff-backup/rdiff_backup/log.py
@@ -125,6 +125,7 @@ class Logger:
if self.log_file_open:
if self.log_file_local:
self.logfp.write(self.format(message, self.verbosity))
+ self.logfp.flush()
else: self.log_file_conn.log.Log.log_to_file(message)
def log_to_term(self, message, verbosity):