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.
pull/4271/head
Jason Ish 6 years ago committed by Victor Julien
parent 873bc290bc
commit 57b4259640

@ -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;

Loading…
Cancel
Save