]> the.earth.li Git - onak.git/commitdiff
Add logging of the HKP base URL for the HKP forwarding backend
authorJonathan McDowell <noodles@earth.li>
Mon, 8 Aug 2016 22:04:14 +0000 (23:04 +0100)
committerJonathan McDowell <noodles@earth.li>
Mon, 8 Aug 2016 22:04:14 +0000 (23:04 +0100)
keydb_hkp.c

index 6707ae6974f0cb34f4c1007615b29b0ada503082..65b6bdcf4e22e1609f620aaa8356b16a0f0e3777 100644 (file)
@@ -378,6 +378,8 @@ struct onak_dbctx *keydb_hkp_init(struct onak_db_config *dbcfg, bool readonly)
        if (!hkp_parse_url(privctx, dbcfg->location)) {
                exit(EXIT_FAILURE);
        }
+       logthing(LOGTHING_INFO, "Using %s as HKP forwarding URL.",
+               privctx->hkpbase);
        curl_global_init(CURL_GLOBAL_DEFAULT);
        privctx->curl = curl_easy_init();
        if (privctx->curl == NULL) {