From 363ae7282bcbcce5e9ffcdef1fe5ad6b77e7653e Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Thu, 7 Dec 2023 17:35:17 +0100 Subject: [PATCH] Log successful pre/post script executions --- npbackup/core/runner.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/npbackup/core/runner.py b/npbackup/core/runner.py index e78aafb..087aa0e 100644 --- a/npbackup/core/runner.py +++ b/npbackup/core/runner.py @@ -609,8 +609,8 @@ class NPBackupRunner: if pre_exec_failure_is_fatal: return False else: - logger.debug( - "Pre-execution of command {} success with\n{}.".format( + logger.info( + "Pre-execution of command {} success with:\n{}.".format( pre_exec_command, output ) ) @@ -646,8 +646,8 @@ class NPBackupRunner: if post_exec_failure_is_fatal: return False else: - logger.debug( - "Post-execution of command {} success with\n{}.".format( + logger.info( + "Post-execution of command {} success with:\n{}.".format( post_exec_command, output ) )