From 5a9c2649813899712fe88de72057513f90c1160d Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 21 Oct 2018 00:24:26 -0700 Subject: [PATCH] modules/client/sync: Promote polylog stats overview log message to infolog. --- modules/client/sync.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/client/sync.cc b/modules/client/sync.cc index 19fe9b84f..20a573561 100644 --- a/modules/client/sync.cc +++ b/modules/client/sync.cc @@ -643,11 +643,9 @@ ircd::m::sync::polylog::handle(client &client, try { // Generate individual stats for sections - #ifdef RB_DEBUG thread_local char iecbuf[64], rembuf[128]; sync::stats stats{sp.stats}; stats.timer = timer{}; - #endif { json::stack::member member{object, "rooms"}; @@ -714,8 +712,7 @@ try }; } - #ifdef RB_DEBUG - log::debug + log::info { log, "polylog %s %s %s wc:%zu in %lu$ms", string(rembuf, ircd::remote(sp.client)), @@ -724,7 +721,6 @@ try sp.stats.flush_count, sp.stats.timer.at().count() }; - #endif return sp.committed; }