From: Jason Ish Date: Fri, 3 Nov 2017 13:36:14 +0000 (-0600) Subject: rule parsing: don't warn if no msg present X-Git-Tag: 1.0.0a1~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=899c5f67bfa253e68fab89f9078e8f62e52aca90;p=thirdparty%2Fsuricata-update.git rule parsing: don't warn if no msg present --- diff --git a/suricata/update/rule.py b/suricata/update/rule.py index e7c1560..d9be2b3 100644 --- a/suricata/update/rule.py +++ b/suricata/update/rule.py @@ -265,7 +265,6 @@ def parse(buf, group=None): rule[name] = val if rule["msg"] is None: - logger.warn("Rule has no \"msg\": %s" % (buf.strip())) rule["msg"] = "" rule["raw"] = m.group("raw").strip()