diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-08-08 02:22:10 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-08-08 02:22:10 +0000 |
commit | 867d5159b225602aa3e185fc66c73318d51ae3b0 (patch) | |
tree | 8fda7aa53257b4807289865e3a231595576e21f1 /rdiff-backup | |
parent | 268460065af46ce3450b80fae2d5b6e9dd114d2c (diff) | |
download | rdiff-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.py | 1 |
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): |