Commit 6e592645 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Improve logging

parent 5491e08c
......@@ -121,6 +121,7 @@ class Server:
stderr=self.log.makefile(encoding='utf-8'))
self.log.DEBUG('OK run_star', cmd, cwd)
finally:
self.log.MESSAGE('shutting down star_socket')
star_socket.shutdown(socket.SHUT_RDWR)
self.log.DEBUG('DONE run_star', cmd, cwd)
......
......@@ -131,6 +131,7 @@ class Backup:
self.primary_in.write(parent + b'\0')
parent = os.path.dirname(parent)
self.primary_in.write(src.name + b'\0')
self.primary_in.flush()
def delete(self, dst):
self.log.DEBUG('Delete:', dst.name)
......
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