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:
parent
cd5903960d
commit
ddb69ca01c
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue