From 23966b9cd6c326d2dbe895d26aa7a098d4aa06f3 Mon Sep 17 00:00:00 2001 From: "Michael \"M3\" Lasevich" Date: Wed, 14 Dec 2022 12:35:20 -0800 Subject: [PATCH] more logging --- src/fredlock/fredlock.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fredlock/fredlock.py b/src/fredlock/fredlock.py index b755107..712c89e 100644 --- a/src/fredlock/fredlock.py +++ b/src/fredlock/fredlock.py @@ -87,8 +87,8 @@ def run(self): log.debug("Lock acquired!") if conf.delay_after_acquire > 0: - log.debug("Delaying %s seconds before running command", - conf.delay_after_acquire) + log.info("Delaying %s seconds before running command", + conf.delay_after_acquire) time.sleep(conf.delay_after_acquire) log.info("Executing command: %s", " ".join(conf.command)) @@ -96,8 +96,8 @@ def run(self): log.info("Finished Executing command.") if conf.delay_before_release > 0: - log.debug("Delaying %s seconds before releasing lock", - conf.delay_before_release) + log.info("Delaying %s seconds before releasing lock", + conf.delay_before_release) time.sleep(conf.delay_before_release) return retcode finally: