diff --git a/src/processor/main.cc b/src/processor/main.cc index 247617c3..c14a0358 100644 --- a/src/processor/main.cc +++ b/src/processor/main.cc @@ -8,6 +8,7 @@ #include "tll/channel.h" #include "tll/logger.h" #include "tll/processor.h" +#include "tll/stat.h" #include "tll/util/argparse.h" #include @@ -71,6 +72,9 @@ int main(int argc, char *argv[]) tll::channel::Context context(cfg->sub("processor.defaults").value_or(tll::Config())); + if (auto stat = tll_logger_stat(); stat) + tll_stat_list_add(context.stat_list(), stat); + std::unique_ptr loader; { tll::Channel::Url lurl;