summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/activitypub.c b/activitypub.c
index d7f5b37..69f47e0 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -141,7 +141,7 @@ int actor_request(const char *actor, xs_dict **data)
}
}
else
- srv_debug(0, xs_fmt("actor_request error %s %d", actor, status));
+ srv_debug(1, xs_fmt("actor_request error %s %d", actor, status));
}
/* collect the (presumed) shared inbox in this actor */
@@ -190,7 +190,7 @@ int timeline_request(snac *snac, char **id, xs_str **wrk, int level)
if (xs_is_null(type))
type = "(null)";
- srv_debug(1, xs_fmt("timeline_request type %s '%s'", nid, type));
+ srv_debug(2, xs_fmt("timeline_request type %s '%s'", nid, type));
if (strcmp(type, "Create") == 0) {
/* some software like lemmy nest Announce + Create + Note */
@@ -1506,7 +1506,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
if (strcmp(type, "Delete") == 0) {
/* if the actor is not here, do not even try */
if (!object_here(actor)) {
- srv_debug(0, xs_fmt("dropped 'Delete' message from unknown actor '%s'", actor));
+ srv_debug(1, xs_fmt("dropped 'Delete' message from unknown actor '%s'", actor));
return -1;
}
}
@@ -1703,13 +1703,13 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
do_notify = 1;
}
else
- snac_log(snac, xs_fmt("dropped 'Announce' on actor request error %s", who));
+ snac_debug(snac, 1, xs_fmt("dropped 'Announce' on actor request error %s", who));
}
else
snac_log(snac, xs_fmt("ignored 'Announce' about muted actor %s", who));
}
else
- snac_debug(snac, 1, xs_fmt("error requesting 'Announce' object %s", object));
+ snac_debug(snac, 2, xs_fmt("error requesting 'Announce' object %s", object));
}
}
else