Skip to content

Commit

Permalink
update(engine): print stats to stderr
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <luca@guerra.sh>
Co-authored-by: Jason Dellaluce <jasondellaluce@gmail.com>
  • Loading branch information
LucaGuerra and jasondellaluce committed Sep 18, 2024
1 parent d66c4ce commit 1f2203a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/engine/falco_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f2203a

Please sign in to comment.