From 57b4259640756d34c5d64c1086e6936841ceb58f Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Mon, 30 Sep 2019 11:16:59 -0600 Subject: [PATCH] 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. --- src/log-filestore.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.47.2