0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd:Ⓜ️:sync: Improve the debug loghead format and content.

This commit is contained in:
Jason Volk 2019-03-02 11:40:51 -08:00
parent cd5903960d
commit ddb69ca01c

View file

@ -540,16 +540,17 @@ ircd::m::sync::loghead(const data &data)
return fmt::sprintf
{
headbuf, "%s %s %lu:%lu %s chunk:%zu %s in %s",
headbuf, "%s %s %lu:%lu|%lu chunk:%zu sent:%s of %s in %s",
remstr,
string_view{data.user.user_id},
data.range.first,
data.range.second,
vm::current_sequence,
flush_count,
ircd::pretty(iecbuf[1], iec(flush_bytes)),
data.out?
ircd::pretty(iecbuf[0], iec(flush_bytes + size(data.out->completed()))):
string_view{},
flush_count,
ircd::pretty(iecbuf[1], iec(flush_bytes)),
tmstr
};
}