]> git.ipfire.org Git - thirdparty/suricata.git/commit
exceptions: use mix of logconfig/info/warning
authorJuliana Fajardini <jufajardini@oisf.net>
Thu, 1 Jun 2023 23:33:18 +0000 (20:33 -0300)
committerVictor Julien <vjulien@oisf.net>
Tue, 13 Jun 2023 07:20:05 +0000 (09:20 +0200)
commit69311ab02f33c8396babfe810ac5a066c900d31e
treef20b6d748b73b7955084a11724d5b775c95ef9a2
parent7f8536b81c59205032676efda62a0b18ff0de224
exceptions: use mix of logconfig/info/warning

Use a mix of SCLogConfig, Warning and Info.
This mix works as follows: when something unnexpected for the user
happens - for instance, the engine ignoring an invalid config value, we
use warning. For indicating the value for the master switch, which
happens only once, we use Info. For all the other cases, we use
SCLogConfig.

It is possible that SCLogConfig isn't showing at the moment, this is a
possible bug to investigate further.

Related to
Bug #5825
src/util-exception-policy.c