Skip to content

Commit

Permalink
dns/eve: make removed v1 style a warning, not an error
Browse files Browse the repository at this point in the history
We don't error out in this case, but instead default to v2. So use a
warning instead of an error.
  • Loading branch information
jasonish authored and victorjulien committed Oct 30, 2023
1 parent a240a93 commit 7d60bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output-json-dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7d60bb7

Please sign in to comment.