mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
More logging tweaks.
This commit is contained in:
parent
61647de38b
commit
ae6df3d288
2 changed files with 4 additions and 3 deletions
|
@ -2457,7 +2457,8 @@ void process_queue_item(xs_dict *q_item)
|
||||||
if (is_msg_for_me(&user, msg)) {
|
if (is_msg_for_me(&user, msg)) {
|
||||||
xs *fn = xs_fmt("%s/queue/%s.json", user.basedir, ntid);
|
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)
|
if (link(tmpfn, fn) < 0)
|
||||||
srv_log(xs_fmt("link(%s, %s) error", tmpfn, fn));
|
srv_log(xs_fmt("link(%s, %s) error", tmpfn, fn));
|
||||||
|
|
4
data.c
4
data.c
|
@ -2225,7 +2225,7 @@ void enqueue_input(snac *snac, const xs_dict *msg, const xs_dict *req, int retri
|
||||||
|
|
||||||
qmsg = _enqueue_put(fn, qmsg);
|
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);
|
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")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue