Commit 5b82843b authored by bescoto's avatar bescoto

Flush logfile after each entry is written


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@600 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 14e938de
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment