aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data.c2
-rw-r--r--html.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/data.c b/data.c
index e022937..0ff102e 100644
--- a/data.c
+++ b/data.c
@@ -316,7 +316,7 @@ int user_open(snac *user, const char *uid)
}
}
else
- srv_debug(1, xs_fmt("invalid user '%s'", uid));
+ srv_debug(2, xs_fmt("invalid user '%s'", uid));
if (!ret)
user_free(user);
diff --git a/html.c b/html.c
index f07be9c..51d64ed 100644
--- a/html.c
+++ b/html.c
@@ -4586,7 +4586,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
if (!uid || !user_open(&snac, uid)) {
/* invalid user */
status = grave(uid, 0) ? HTTP_STATUS_GONE : HTTP_STATUS_NOT_FOUND;
- srv_debug(1, xs_fmt("html_get_handler bad user %s %d", xs_or(uid, "(null)"), status));
+ srv_debug(2, xs_fmt("html_get_handler bad user '%s' %d", xs_or(uid, "(null)"), status));
return status;
}