commit ae6df3d

default  ·  2024-03-04 08:22:06 +0000 UTC
parent 61647de
More logging tweaks.
2 files changed,  +4, -3
M data.c
+2, -1
 1@@ -2457,7 +2457,8 @@ void process_queue_item(xs_dict *q_item)
 2                     if (is_msg_for_me(&user, msg)) {
 3                         xs *fn = xs_fmt("%s/queue/%s.json", user.basedir, ntid);
 4 
 5-                        snac_debug(&user, 1, xs_fmt("enqueue_input (from shared inbox) %s", fn));
 6+                        snac_debug(&user, 1,
 7+                            xs_fmt("enqueue_input (from shared inbox) %s", xs_dict_get(msg, "id")));
 8 
 9                         if (link(tmpfn, fn) < 0)
10                             srv_log(xs_fmt("link(%s, %s) error", tmpfn, fn));
M data.c
+2, -2
 1@@ -2225,7 +2225,7 @@ void enqueue_input(snac *snac, const xs_dict *msg, const xs_dict *req, int retri
 2 
 3     qmsg = _enqueue_put(fn, qmsg);
 4 
 5-    snac_debug(snac, 1, xs_fmt("enqueue_input %s %s", fn, xs_dict_get(msg, "id")));
 6+    snac_debug(snac, 1, xs_fmt("enqueue_input %s", xs_dict_get(msg, "id")));
 7 }
 8 
 9 
10@@ -2240,7 +2240,7 @@ void enqueue_shared_input(const xs_dict *msg, const xs_dict *req, int retries)
11 
12     qmsg = _enqueue_put(fn, qmsg);
13 
14-    srv_debug(1, xs_fmt("enqueue_shared_input %s %s", fn, xs_dict_get(msg, "id")));
15+    srv_debug(1, xs_fmt("enqueue_shared_input %s", xs_dict_get(msg, "id")));
16 }
17 
18