cleanup(configs): adjust old stats deprecation notice

Co-authored-by: Andrea Terzolo <andreaterzolo3@gmail.com>
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
This commit is contained in:
Melissa Kilby 2024-01-23 17:45:31 +00:00 committed by poiana
parent 78ce4d1ecc
commit 285d69ec42

View File

@ -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) if(s.config->m_min_priority == falco_common::PRIORITY_DEBUG)
{ {
falco_logger::log(falco_logger::level::WARNING, 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 '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 // Please note: is not possible to mix command line options and configs to obtain a configuration