diff options
Diffstat (limited to 'rdiff-backup/rdiff_backup/log.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/log.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/log.py b/rdiff-backup/rdiff_backup/log.py index 5416fd2..4605875 100644 --- a/rdiff-backup/rdiff_backup/log.py +++ b/rdiff-backup/rdiff_backup/log.py @@ -40,6 +40,7 @@ class Logger: write commands off to it. """ + assert not self.log_file_open for conn in Globals.connections: conn.Log.open_logfile_allconn(rpath.conn) rpath.conn.Log.open_logfile_local(rpath) @@ -71,6 +72,7 @@ class Logger: """Run by logging connection - close logfile""" assert self.log_file_conn is Globals.local_connection assert not self.logfp.close() + self.log_file_local = None def format(self, message, verbosity): """Format the message, possibly adding date information""" |