]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
server: Improve "loading pubkey" log message.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 30 Apr 2023 14:05:13 +0000 (16:05 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 15 May 2023 18:06:50 +0000 (20:06 +0200)
Include the path to the key file in the output and make the message
more visible by increasing its severity level.

user_list.c

index f2436c9e5bf7a835db2553c4c54db112d628b40d..46770edf701e983d424e8869e7c9ccd4730c3cf9 100644 (file)
@@ -91,7 +91,7 @@ void user_list_init(const char *user_list_file)
                        continue;
                if (strcmp(w, "user"))
                        continue;
-               PARA_DEBUG_LOG("found entry for user %s\n", n);
+               PARA_INFO_LOG("loading pubkey %s for user %s\n", k, n);
                ret = apc_get_pubkey(k, &pubkey);
                if (ret < 0) {
                        PARA_NOTICE_LOG("skipping entry for user %s: %s\n", n,