drop.log: log deprecation warning if used

pull/4271/head
Jason Ish 6 years ago committed by Victor Julien
parent 6c2e9ac27c
commit 0b02539ea9

@ -137,6 +137,10 @@ static void LogDropLogDeInitCtx(OutputCtx *output_ctx)
*/
static OutputInitResult LogDropLogInitCtx(ConfNode *conf)
{
SCLogWarning(SC_WARN_DEPRECATED,
"The drop log has been deprecated and will be removed by "
"June 2020. Please use eve-log.");
OutputInitResult result = { NULL, false };
if (OutputDropLoggerEnable() != 0) {
SCLogError(SC_ERR_CONF_YAML_ERROR, "only one 'drop' logger "

Loading…
Cancel
Save