More logging tweaks.

This commit is contained in:
default 2024-03-04 09:22:06 +01:00
parent 61647de38b
commit ae6df3d288
2 changed files with 4 additions and 3 deletions

View File

@ -2457,7 +2457,8 @@ void process_queue_item(xs_dict *q_item)
if (is_msg_for_me(&user, msg)) {
xs *fn = xs_fmt("%s/queue/%s.json", user.basedir, ntid);
snac_debug(&user, 1, xs_fmt("enqueue_input (from shared inbox) %s", fn));
snac_debug(&user, 1,
xs_fmt("enqueue_input (from shared inbox) %s", xs_dict_get(msg, "id")));
if (link(tmpfn, fn) < 0)
srv_log(xs_fmt("link(%s, %s) error", tmpfn, fn));

4
data.c
View File

@ -2225,7 +2225,7 @@ void enqueue_input(snac *snac, const xs_dict *msg, const xs_dict *req, int retri
qmsg = _enqueue_put(fn, qmsg);
snac_debug(snac, 1, xs_fmt("enqueue_input %s %s", fn, xs_dict_get(msg, "id")));
snac_debug(snac, 1, xs_fmt("enqueue_input %s", xs_dict_get(msg, "id")));
}
@ -2240,7 +2240,7 @@ void enqueue_shared_input(const xs_dict *msg, const xs_dict *req, int retries)
qmsg = _enqueue_put(fn, qmsg);
srv_debug(1, xs_fmt("enqueue_shared_input %s %s", fn, xs_dict_get(msg, "id")));
srv_debug(1, xs_fmt("enqueue_shared_input %s", xs_dict_get(msg, "id")));
}