Add option to disable syslog output #675

Merged
witten merged 11 commits from Soumik_Dutta/borgmatic:feat484-option-to-disable-syslog into main 2023-05-30 20:03:57 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 99473c30a8 - Show all commits

View File

@ -76,7 +76,7 @@ def initialize_monitor(hook_config, config_filename, monitoring_log_level, dry_r
we can send them all to Healthchecks upon a finish or failure state. But skip this if the
"send_logs" option is false.
'''
if hook_config.get('send_logs') is False:
if hook_config.get('send_logs') is False or monitoring_log_level == logging.DISABLED:
return
ping_body_limit = max(