From: Jason Ish Date: Tue, 1 Oct 2019 15:13:22 +0000 (-0600) Subject: drop.log: log deprecation warning if used X-Git-Tag: suricata-5.0.0~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b02539ea94151ee8617fd31673b0a23a30d79eb;p=thirdparty%2Fsuricata.git drop.log: log deprecation warning if used --- diff --git a/src/log-droplog.c b/src/log-droplog.c index 1e11ea31e9..6a523a7d01 100644 --- a/src/log-droplog.c +++ b/src/log-droplog.c @@ -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 "