Logging tweaks.

This commit is contained in:
default 2024-03-04 09:18:07 +01:00
parent 86d2452d26
commit 61647de38b
3 changed files with 3 additions and 13 deletions

View file

@ -1855,7 +1855,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
}
}
else
snac_log(snac, xs_fmt("warning: empty or null creation date for %s", actor));
snac_debug(snac, 1, xs_fmt("warning: empty or null creation date for %s", actor));
}
if (strcmp(type, "Follow") == 0) { /** **/

4
data.c
View file

@ -2225,7 +2225,7 @@ void enqueue_input(snac *snac, const xs_dict *msg, const xs_dict *req, int retri
qmsg = _enqueue_put(fn, qmsg);
snac_debug(snac, 1, xs_fmt("enqueue_input %s", fn));
snac_debug(snac, 1, xs_fmt("enqueue_input %s %s", fn, 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);
srv_debug(1, xs_fmt("enqueue_shared_input %s", fn));
srv_debug(1, xs_fmt("enqueue_shared_input %s %s", fn, xs_dict_get(msg, "id")));
}

10
main.c
View file

@ -57,16 +57,6 @@ char *get_argv(int *argi, int argc, char *argv[])
#define GET_ARGV() get_argv(&argi, argc, argv)
#include "xs_html.h"
xs_html *html_note(snac *user, char *summary,
char *div_id, char *form_id,
char *ta_plh, char *ta_content,
char *edit_id, char *actor_id,
xs_val *cw_yn, char *cw_text,
xs_val *mnt_only, char *redir,
char *in_reply_to, int poll);
int main(int argc, char *argv[])
{
char *cmd;