store: log whether a message is 'personal'

This commit is contained in:
Dirk-Jan C. Binnema 2022-05-30 20:31:23 +03:00
parent 734445f78d
commit ce1fea6302
1 changed files with 2 additions and 1 deletions

View File

@ -456,7 +456,8 @@ Store::add_message(Message& msg, bool use_transaction)
if (use_transaction) /* commit if batch is full */
priv_->transaction_maybe_commit();
g_debug("added message @ %s; docid = %u", msg.path().c_str(), *res);
g_debug("added %smessage @ %s; docid = %u",
is_personal ? "personal " : "", msg.path().c_str(), *res);
return res;
}