commit 43c83ce
default
·
2023-02-03 18:34:52 +0000 UTC
parent d490898
More debug level changes.
1 files changed,
+2,
-2
M
html.c
M
html.c
+2,
-2
1@@ -1095,7 +1095,7 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char *
2
3 if (!uid || !user_open(&snac, uid)) {
4 /* invalid user */
5- srv_log(xs_fmt("html_get_handler bad user %s", uid));
6+ srv_debug(1, xs_fmt("html_get_handler bad user %s", uid));
7 return 404;
8 }
9
10@@ -1322,7 +1322,7 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
11 uid = xs_list_get(l, 1);
12 if (!uid || !user_open(&snac, uid)) {
13 /* invalid user */
14- srv_log(xs_fmt("html_post_handler bad user %s", uid));
15+ srv_debug(1, xs_fmt("html_post_handler bad user %s", uid));
16 return 404;
17 }
18