Explorar o código

More log level tweaks.

default %!s(int64=3) %!d(string=hai) anos
pai
achega
225c45ddaf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mastoapi.c

+ 1 - 1
mastoapi.c

@@ -615,7 +615,7 @@ int process_auth_token(snac *snac, const xs_dict *req)
 
 
             if (!xs_is_null(uid) && user_open(snac, uid)) {
             if (!xs_is_null(uid) && user_open(snac, uid)) {
                 logged_in = 1;
                 logged_in = 1;
-                srv_debug(1, xs_fmt("mastoapi auth: valid token for user %s", uid));
+                srv_debug(2, xs_fmt("mastoapi auth: valid token for user %s", uid));
             }
             }
             else
             else
                 srv_log(xs_fmt("mastoapi auth: corrupted token %s", tokid));
                 srv_log(xs_fmt("mastoapi auth: corrupted token %s", tokid));