diff options
| author | 2024-03-04 09:22:06 +0100 | |
|---|---|---|
| committer | 2024-03-04 09:22:06 +0100 | |
| commit | ae6df3d288f5fabaa12450561942e48b813bc84c (patch) | |
| tree | 2a9c63bf22b75bb8605e787fbbc3ce07402bd25e | |
| parent | Logging tweaks. (diff) | |
| download | snac2-ae6df3d288f5fabaa12450561942e48b813bc84c.tar.gz snac2-ae6df3d288f5fabaa12450561942e48b813bc84c.tar.xz snac2-ae6df3d288f5fabaa12450561942e48b813bc84c.zip | |
More logging tweaks.
| -rw-r--r-- | activitypub.c | 3 | ||||
| -rw-r--r-- | data.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/activitypub.c b/activitypub.c index 0ddb266..71b476e 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -2457,7 +2457,8 @@ void process_queue_item(xs_dict *q_item) | |||
| 2457 | if (is_msg_for_me(&user, msg)) { | 2457 | if (is_msg_for_me(&user, msg)) { |
| 2458 | xs *fn = xs_fmt("%s/queue/%s.json", user.basedir, ntid); | 2458 | xs *fn = xs_fmt("%s/queue/%s.json", user.basedir, ntid); |
| 2459 | 2459 | ||
| 2460 | snac_debug(&user, 1, xs_fmt("enqueue_input (from shared inbox) %s", fn)); | 2460 | snac_debug(&user, 1, |
| 2461 | xs_fmt("enqueue_input (from shared inbox) %s", xs_dict_get(msg, "id"))); | ||
| 2461 | 2462 | ||
| 2462 | if (link(tmpfn, fn) < 0) | 2463 | if (link(tmpfn, fn) < 0) |
| 2463 | srv_log(xs_fmt("link(%s, %s) error", tmpfn, fn)); | 2464 | srv_log(xs_fmt("link(%s, %s) error", tmpfn, fn)); |
| @@ -2225,7 +2225,7 @@ void enqueue_input(snac *snac, const xs_dict *msg, const xs_dict *req, int retri | |||
| 2225 | 2225 | ||
| 2226 | qmsg = _enqueue_put(fn, qmsg); | 2226 | qmsg = _enqueue_put(fn, qmsg); |
| 2227 | 2227 | ||
| 2228 | snac_debug(snac, 1, xs_fmt("enqueue_input %s %s", fn, xs_dict_get(msg, "id"))); | 2228 | snac_debug(snac, 1, xs_fmt("enqueue_input %s", xs_dict_get(msg, "id"))); |
| 2229 | } | 2229 | } |
| 2230 | 2230 | ||
| 2231 | 2231 | ||
| @@ -2240,7 +2240,7 @@ void enqueue_shared_input(const xs_dict *msg, const xs_dict *req, int retries) | |||
| 2240 | 2240 | ||
| 2241 | qmsg = _enqueue_put(fn, qmsg); | 2241 | qmsg = _enqueue_put(fn, qmsg); |
| 2242 | 2242 | ||
| 2243 | srv_debug(1, xs_fmt("enqueue_shared_input %s %s", fn, xs_dict_get(msg, "id"))); | 2243 | srv_debug(1, xs_fmt("enqueue_shared_input %s", xs_dict_get(msg, "id"))); |
| 2244 | } | 2244 | } |
| 2245 | 2245 | ||
| 2246 | 2246 | ||