Log successful pre/post script executions

This commit is contained in:
Orsiris de Jong 2023-12-07 17:35:17 +01:00 committed by GitHub
parent c00567a741
commit 363ae7282b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
)
)