snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit a0c6b93d2e426346565caf10337da8ffa4016816
parent 888a79e58a2de457558c41cc91cf7e8d5df78811
Author: default <nobody@localhost>
Date:   Thu, 14 Dec 2023 19:58:44 +0100

More log tweaks.

Diffstat:
Mactivitypub.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/activitypub.c b/activitypub.c @@ -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; } } @@ -1709,7 +1709,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) 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