Skip to content

Commit

Permalink
Log successful pre/post script executions
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan authored Dec 7, 2023
1 parent c00567a commit 363ae72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions npbackup/core/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,8 @@ def backup(self, force: bool = False) -> bool:
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
)
)
Expand Down Expand Up @@ -646,8 +646,8 @@ def backup(self, force: bool = False) -> bool:
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
)
)
Expand Down

0 comments on commit 363ae72

Please # to comment.