From f6c6250fcb2368e05f5eb0eeda8ef420951b9ceb Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 31 Dec 2018 16:26:57 -0800 Subject: [PATCH] ircd:;db: Add the file size to the table file creation log msg. --- ircd/db.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ircd/db.cc b/ircd/db.cc index 9431467d4..b41d698f0 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -2702,11 +2702,12 @@ noexcept log::logf { log, level, - "'%s': job:%d table file closed [%s][%s] '%s' (%d): %s", + "'%s': job:%d table file closed [%s][%s] size:%s '%s' (%d): %s", d->name, info.job_id, info.db_name, lstrip(info.file_path, info.db_name), + pretty(iec(info.file_size)), info.cf_name, int(info.status.code()), info.status.getState()?: "OK",