mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-03 19:46:45 +08:00
Change WIP log statements to debug level
This commit is contained in:
parent
5df6e2fe5f
commit
22be3a7e53
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue