diff --git a/selfprivacy_api/services/owned_path.py b/selfprivacy_api/services/owned_path.py index 4ab40ed..c1d97c2 100644 --- a/selfprivacy_api/services/owned_path.py +++ b/selfprivacy_api/services/owned_path.py @@ -96,12 +96,10 @@ class Bind: raise BindError(f"Unable to bind {source} to {target} :{error.stderr}") def unbind(self) -> None: - logger.warning(f"Unmounting '{self.binding_path}'") if not exists(self.binding_path): raise BindError(f"cannot unbind a non-existing path: {self.binding_path}") try: - logger.warning(f"Unmounting '{self.binding_path}'") subprocess.run( # umount -l ? ["umount", self.binding_path], diff --git a/selfprivacy_api/services/service.py b/selfprivacy_api/services/service.py index e133722..4d9c54d 100644 --- a/selfprivacy_api/services/service.py +++ b/selfprivacy_api/services/service.py @@ -388,7 +388,6 @@ class Service(ABC): """ service_name = self.get_display_name() binds = self.binds() - logger.warning(f"Binds: {binds}") report_progress(10, job, "Unmounting folders from old volume...") unbind_folders(binds) diff --git a/selfprivacy_api/services/templated_service.py b/selfprivacy_api/services/templated_service.py index 9687727..a6e65bd 100644 --- a/selfprivacy_api/services/templated_service.py +++ b/selfprivacy_api/services/templated_service.py @@ -413,12 +413,9 @@ class TemplatedService(Service): def get_owned_folders(self) -> List[OwnedPath]: folders = self.meta.folders owned_folders = self.meta.owned_folders - logger.warning(f"folders: {folders}") - logger.warning(f"owned_folders: {owned_folders}") resulting_folders = owned_folders.copy() for folder in folders: resulting_folders.append(self.owned_path(folder)) - logger.warning(f"returning owned_folders: {resulting_folders}") return resulting_folders def set_location(self, volume: BlockDevice):