diff --git a/falco.yaml b/falco.yaml index 3c90ec7f..7cf030df 100644 --- a/falco.yaml +++ b/falco.yaml @@ -906,10 +906,10 @@ log_level: info # behavior of the underlying components used by Falco. Only logs of a certain # severity level or higher will be emitted. Supported levels: "fatal", # "critical", "error", "warning", "notice", "info", "debug", "trace". It is not -# recommended for production use. +# recommended to use "debug" and "trace" for production use. libs_logger: - enabled: false - severity: debug + enabled: true + severity: info ################################################################################# diff --git a/userspace/falco/configuration.cpp b/userspace/falco/configuration.cpp index 72758f39..ef3674e0 100644 --- a/userspace/falco/configuration.cpp +++ b/userspace/falco/configuration.cpp @@ -213,8 +213,8 @@ void falco_configuration::init_logger() { m_log_level = m_config.get_scalar("log_level", "info"); falco_logger::set_level(m_log_level); falco_logger::set_sinsp_logging( - m_config.get_scalar("libs_logger.enabled", false), - m_config.get_scalar("libs_logger.severity", "debug"), + m_config.get_scalar("libs_logger.enabled", true), + m_config.get_scalar("libs_logger.severity", "info"), "[libs]: "); falco_logger::log_stderr = m_config.get_scalar("log_stderr", false); falco_logger::log_syslog = m_config.get_scalar("log_syslog", true);