0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd:Ⓜ️:vm: Minor init/fini infolog msg tweak.

This commit is contained in:
Jason Volk 2019-08-15 21:38:54 -07:00
parent 221a6339fb
commit 593c21ce46

View file

@ -134,10 +134,13 @@ ircd::m::vm::init()
log::info log::info
{ {
log, "BOOT %s @%lu [%s]", log, "BOOT %s @%lu [%s] db:%lu",
string_view{m::my_node.node_id}, string_view{m::my_node.node_id},
sequence::retired, sequence::retired,
sequence::retired? string_view{event_id} : "NO EVENTS"_sv sequence::retired?
string_view{event_id} : "NO EVENTS"_sv,
m::dbs::events?
db::sequence(*m::dbs::events) : 0UL,
}; };
} }
@ -171,13 +174,16 @@ ircd::m::vm::fini()
log::info log::info
{ {
log, "HLT '%s' @%lu [%s] %lu:%lu:%lu", log, "HALT '%s' @%lu [%s] vm:%lu:%lu:%lu db:%lu",
string_view{m::my_node.node_id}, string_view{m::my_node.node_id},
retired, retired,
retired? string_view{event_id} : "NO EVENTS"_sv, retired?
string_view{event_id} : "NO EVENTS"_sv,
sequence::retired, sequence::retired,
sequence::committed, sequence::committed,
sequence::uncommitted sequence::uncommitted,
m::dbs::events?
db::sequence(*m::dbs::events) : 0UL,
}; };
assert(retired == sequence::retired); assert(retired == sequence::retired);