From: Jason Ish Date: Mon, 30 Sep 2019 17:16:59 +0000 (-0600) Subject: filestore(v1): deprecation log warning when enabled X-Git-Tag: suricata-5.0.0~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57b4259640756d34c5d64c1086e6936841ceb58f;p=thirdparty%2Fsuricata.git filestore(v1): deprecation log warning when enabled Notify the user with a warning log that this feature is deprecated and will be remove in v6 of Suricata. --- diff --git a/src/log-filestore.c b/src/log-filestore.c index 7239abfa2c..b0df105434 100644 --- a/src/log-filestore.c +++ b/src/log-filestore.c @@ -606,6 +606,10 @@ static OutputInitResult LogFilestoreLogInitCtx(ConfNode *conf) return result; } + SCLogWarning(SC_WARN_DEPRECATED, + "File-store v1 has been deprecated and will be removed by " + "June 2020. Please update to file-store v2."); + OutputCtx *output_ctx = SCCalloc(1, sizeof(OutputCtx)); if (unlikely(output_ctx == NULL)) return result;