diff --git a/npbackup/core/restic_source_binary.py b/npbackup/core/restic_source_binary.py index bda8f15..98200cb 100644 --- a/npbackup/core/restic_source_binary.py +++ b/npbackup/core/restic_source_binary.py @@ -59,7 +59,7 @@ def get_restic_internal_binary(arch: str) -> str: else: binary = "restic_*_linux_386" else: - logger.info("Internal binary directory not set") + logger.debug("Internal binary directory not set") return None if binary: guessed_path = glob.glob(os.path.join(RESTIC_SOURCE_FILES_DIR, binary)) @@ -67,7 +67,7 @@ def get_restic_internal_binary(arch: str) -> str: # Take glob results reversed so we get newer version # Does not always compute, but is g00denough(TM) for our dev return guessed_path[-1] - logger.info( + logger.debug( f"Could not find internal restic binary, guess {os.path.join(RESTIC_SOURCE_FILES_DIR, binary)} in {guessed_path}" ) return None diff --git a/npbackup/restic_wrapper/__init__.py b/npbackup/restic_wrapper/__init__.py index c090fe3..a1cf471 100644 --- a/npbackup/restic_wrapper/__init__.py +++ b/npbackup/restic_wrapper/__init__.py @@ -546,7 +546,7 @@ class ResticRunner: if os.path.isfile(probed_path): self._binary = probed_path return - self.write_logs(f"Could not find restic binary in {probe_paths}", level="info") + self.write_logs(f"Could not find restic binary in {probe_paths}", level="debug") self.write_logs( "No backup engine binary found. Please install latest binary from restic.net", level="error",