diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a17b3fb9..834af147b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Changed - add regex and option to negate conditional profiles search +- downgrade of some log messages from warning to info ### Fixed - empty profile name when MIB family name and a polled varbind differs diff --git a/splunk_connect_for_snmp/inventory/tasks.py b/splunk_connect_for_snmp/inventory/tasks.py index 5014edba3..820d8799d 100644 --- a/splunk_connect_for_snmp/inventory/tasks.py +++ b/splunk_connect_for_snmp/inventory/tasks.py @@ -198,11 +198,11 @@ def assign_profiles(ir, profiles, target): profile = profiles[profile_name] if "condition" in profile: if profile["condition"].get("type") == "walk": - logger.warning( + logger.info( f"profile {profile_name} is a walk profile, it cannot be used as a static profile" ) continue - logger.warning( + logger.info( f"profile {profile_name} is a smart profile, it does not need to be configured as a static one" ) elif "conditions" in profile: @@ -240,7 +240,7 @@ def is_smart_profile_valid(profile_name, profile): return False if "frequency" not in profile: - logger.warning(f"Profile {profile_name} has no frequency") + logger.info(f"Profile {profile_name} has no frequency") return False if "condition" not in profile: