diff --git a/prime_backup/action/create_backup_action.py b/prime_backup/action/create_backup_action.py index bf65c09..d2af75a 100644 --- a/prime_backup/action/create_backup_action.py +++ b/prime_backup/action/create_backup_action.py @@ -229,7 +229,7 @@ def scan(full_path: Path, is_root_target: bool): if ignore_patterns.match_file(rel_path) or self.config.backup.is_file_ignore_by_deprecated_ignored_files(rel_path.name): ignored_paths.append(rel_path) if is_root_target: - self.logger.warning('Backup target {} is ignored by config'.format(rel_path)) + self.logger.warning('Backup target {} is ignored by config'.format(repr(str(rel_path)))) return if full_path in visited_path: @@ -240,7 +240,7 @@ def scan(full_path: Path, is_root_target: bool): st = full_path.lstat() except FileNotFoundError: if is_root_target: - self.logger.info('Backup target {} does not exist, skipped. full_path: {}'.format(rel_path, full_path)) + self.logger.warning('Backup target {} does not exist, skipped. full_path: {}'.format(repr(str(rel_path)), full_path)) return entry = _ScanResultEntry(full_path, st)