From 0fc8afed4045fbd5499d672e4709f5d98acdfc45 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 1 Nov 2022 21:13:13 +0100 Subject: ... --- modules/zfssnap/zfssnap/zfssnap/__main__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules') diff --git a/modules/zfssnap/zfssnap/zfssnap/__main__.py b/modules/zfssnap/zfssnap/zfssnap/__main__.py index a0eade78..9d07401b 100644 --- a/modules/zfssnap/zfssnap/zfssnap/__main__.py +++ b/modules/zfssnap/zfssnap/zfssnap/__main__.py @@ -161,6 +161,7 @@ def prune(config, dry_run, keep_newest, do_exec, exec_newest): logger.debug('exec_candidates=%s', exec_candidates) already_execed = set() for snap in exec_candidates: + logger.debug('checking for ā€˜%sā€™...', snap.name) args = [] args += shlex.split(check_cmd) args += [snap.name] @@ -193,6 +194,7 @@ def prune(config, dry_run, keep_newest, do_exec, exec_newest): logger.debug('exec_count of %d reached', exec_count) break + logger.info('execing for ā€˜%sā€™...', snap.name) args = [] args += shlex.split(exec_cmd) args += [snap.name] -- cgit v1.2.3