From 930c6739f955f5ae2e764c624e1548b46c23da13 Mon Sep 17 00:00:00 2001 From: Melissa Kilby Date: Tue, 23 Jan 2024 17:42:41 +0000 Subject: [PATCH] cleanup(configs): adjust old stats deprecation notice Co-authored-by: Andrea Terzolo Signed-off-by: Melissa Kilby --- userspace/falco/app/actions/load_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/falco/app/actions/load_config.cpp b/userspace/falco/app/actions/load_config.cpp index bb840153d2e..4b81d750d1e 100644 --- a/userspace/falco/app/actions/load_config.cpp +++ b/userspace/falco/app/actions/load_config.cpp @@ -44,7 +44,7 @@ static falco::app::run_result apply_deprecated_options(falco::app::state& s) if(s.config->m_min_priority == falco_common::PRIORITY_DEBUG) { falco_logger::log(falco_logger::level::WARNING, - "DEPRECATION NOTICE: 'syscall_event_drops' config is deprecated and will be removed in Falco 0.38! Use 'metrics' config instead. Note that the 'syscall_event_drops' config is enabled by default when the 'priority' is set to 'debug'. You can turn it off by setting the 'priority' to any higher level\n"); + "DEPRECATION NOTICE: 'syscall_event_drops' config is deprecated and will be removed in Falco 0.38! If you rely on this config use instead 'metrics.output_rule' along with 'metrics.kernel_event_counters_enabled' to monitor the number of drops. Note that the 'syscall_event_drops' config is enabled by default when the 'priority' is set to 'debug'. You can turn it off by setting the 'priority' to any higher level\n"); } // Please note: is not possible to mix command line options and configs to obtain a configuration