diff --git a/update-firewall-source.py b/update-firewall-source.py index f03d0fd..4af11d4 100644 --- a/update-firewall-source.py +++ b/update-firewall-source.py @@ -163,8 +163,8 @@ def validate_config_sections( for this_section in config_obj.sections(): log.debug(print_section_header(this_section)) if not set(CONST.CFG_MANDATORY).issubset(config_obj.options(this_section, no_defaults=True)): - log.debug(f"Config section '[{this_section}]' does not have all mandatory options " - f"{CONST.CFG_MANDATORY} set, skipping section ...") + log.warning(f"Config section '[{this_section}]' does not have all mandatory options " + f"{CONST.CFG_MANDATORY} set, skipping section ...") config_obj.remove_section(this_section) else: for key in config_obj.options(this_section, no_defaults=True):