From a00ffc258f00ee1d625f4f93fb91d2cfa3e949c8 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Tue, 8 Nov 2022 18:51:59 +0100 Subject: [PATCH] Demote log to debug --- cleanmedia | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleanmedia b/cleanmedia index 835e86c..cc3d2fe 100755 --- a/cleanmedia +++ b/cleanmedia @@ -44,7 +44,7 @@ class File: if self.fullpath is None: logging.info(f"No known path for file id '{self.media_id}', cannot delete file.") elif not self.fullpath.is_dir(): - logging.info(f"Path for file id '{self.media_id}' exists but is not directory, ignoring instead of deleting.") + logging.debug(f"Path for file id '{self.media_id}' is not a directory or does not exist, not deleting.") else: for file in self.fullpath.glob('*'): # note: this does not handle directories in fullpath