diff options
-rwxr-xr-x | backend/magiback | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/backend/magiback b/backend/magiback index ed6109b..46cf43c 100755 --- a/backend/magiback +++ b/backend/magiback @@ -91,7 +91,7 @@ class Isodumper(raw_write.Dumper): if check_permission('org.mageia.Magiback.Isodumper.write', dbus_context): self.thread = threading.Thread(target=self._do_write, args=(source, target, size, self.backup_mode, self.uid, self.uid)) self.thread.start() - logging.debug("Writing thread started") + logging.info("Writing thread started") self.writing_perm = True self.writing_target = target else: @@ -105,9 +105,10 @@ class Isodumper(raw_write.Dumper): if self.writing_perm and self.writing_target == target: self.thread = threading.Thread(target=self._do_persistence, args=(target, label, key)) self.thread.start() - logging.debug("Persistence thread started") + logging.info("Persistence thread started") else: self.return_message = "Persistence: Access denied" + logging.info(self.return_message) self.finished.set() self.writing_perm = False self.writing_target = "" @@ -142,11 +143,13 @@ class Isodumper(raw_write.Dumper): self.thread.start() def set_backup_mode(self, uid, gid): + logging.info("Set in backup mode") self.backup_mode = True self.uid = uid self.gid = gid def unset_backup_mode(self): + logging.info("Unset the backup mode") self.backup_mode = False self.uid = 0 self.gid = 0 |