From: Jeff Lucovsky Date: Tue, 16 Jan 2024 15:10:35 +0000 (-0500) Subject: log/sguil: Issue deprecation notice if sguil mode X-Git-Tag: suricata-7.0.3~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55772c39fedd22dfde440d754ab7b8c12339d8a5;p=thirdparty%2Fsuricata.git log/sguil: Issue deprecation notice if sguil mode Issue: 6688 --- diff --git a/src/log-pcap.c b/src/log-pcap.c index 1e1b6da1fb..a20fc84c37 100644 --- a/src/log-pcap.c +++ b/src/log-pcap.c @@ -1437,6 +1437,8 @@ static OutputInitResult PcapLogInitCtx(ConfNode *conf) if (s_mode != NULL) { if (strcasecmp(s_mode, "sguil") == 0) { pl->mode = LOGMODE_SGUIL; + SCLogWarning("sguil mode is deprecated and will be removed from Suricata 8; see " + "issue 6688"); } else if (strcasecmp(s_mode, "multi") == 0) { pl->mode = LOGMODE_MULTI; } else if (strcasecmp(s_mode, "normal") != 0) {