]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
filestore(v1): deprecation log warning when enabled
authorJason Ish <jason.ish@oisf.net>
Mon, 30 Sep 2019 17:16:59 +0000 (11:16 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 3 Oct 2019 13:48:11 +0000 (15:48 +0200)
Notify the user with a warning log that this feature is
deprecated and will be remove in v6 of Suricata.

src/log-filestore.c

index 7239abfa2c1f954ef06f357aa177021f4e90ddc1..b0df105434367ef99289bf29edbd0a8adf7d5235 100644 (file)
@@ -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;