From 6e8a7a4162614ec4eb7a7c2f82987ba926695f73 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 2 Sep 2019 17:47:59 -0700 Subject: [PATCH] modules/m_fetch: Fix debuglog msg argument bitrot. --- modules/m_fetch.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/m_fetch.cc b/modules/m_fetch.cc index d3b9e3c23..7db697d86 100644 --- a/modules/m_fetch.cc +++ b/modules/m_fetch.cc @@ -676,11 +676,11 @@ ircd::m::fetch::finish(request &request) log::logf { log, request.eptr? log::DERROR: log::DEBUG, - "%s in %s started:%ld finished:%d attempted:%zu abandon:%b %S%s", + "Finished %s in %s started:%ld finished:%d attempted:%zu abandon:%b %s%s", string_view{request.opts.event_id}, string_view{request.opts.room_id}, - seconds(tse(request.started)).count(), - seconds(tse(request.finished)).count(), + duration_cast(tse(request.started)).count(), + duration_cast(tse(request.finished)).count(), request.attempted.size(), !request.promise, request.eptr? " :" : "",