From 1f2203a0f1ac729dd215b9a2b8966ce386d8d9f7 Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Wed, 18 Sep 2024 15:23:32 +0000 Subject: [PATCH] update(engine): print stats to stderr Signed-off-by: Luca Guerra Co-authored-by: Jason Dellaluce --- userspace/engine/falco_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/engine/falco_engine.cpp b/userspace/engine/falco_engine.cpp index 10e6653b532..4cb5e58e801 100644 --- a/userspace/engine/falco_engine.cpp +++ b/userspace/engine/falco_engine.cpp @@ -927,7 +927,7 @@ void falco_engine::print_stats() const std::string out; m_rule_stats_manager.format(m_rules, out); // todo(jasondellaluce): introduce a logging callback in Falco - fprintf(stdout, "%s", out.c_str()); + fprintf(stderr, "%s", out.c_str()); } const stats_manager& falco_engine::get_rule_stats_manager() const