]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
dns/eve: make removed v1 style a warning, not an error 9714/head
authorJason Ish <jason.ish@oisf.net>
Mon, 30 Oct 2023 18:16:33 +0000 (12:16 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 30 Oct 2023 18:33:28 +0000 (19:33 +0100)
We don't error out in this case, but instead default to v2. So use a
warning instead of an error.

src/output-json-dns.c

index cd3ccac29db889baffada92e96e9e8a317725eec..020e27853a9eb8d224998c574cc3117b8d7fdb4b 100644 (file)
@@ -486,7 +486,7 @@ static void JsonDnsCheckVersion(ConfNode *conf)
                     break;
                 case 1:
                     if (!v1_deprecation_warned) {
-                        SCLogError("DNS EVE v1 logging has been removed, will use v2");
+                        SCLogWarning("DNS EVE v1 logging has been removed, will use v2");
                         v1_deprecation_warned = true;
                     }
                     break;