mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-05 20:44:51 +08:00
Log successful pre/post script executions
This commit is contained in:
parent
c00567a741
commit
363ae7282b
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue