]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
catalog: log catalog update
authorLibor Peltan <libor.peltan@nic.cz>
Mon, 27 Jul 2020 16:41:27 +0000 (18:41 +0200)
committerDaniel Salzman <daniel.salzman@nic.cz>
Tue, 25 Aug 2020 19:52:29 +0000 (21:52 +0200)
src/knot/updates/zone-update.c

index d492b0dceaf74031ee792f01706ce0b886bb2190..1973bd7e52eec3ed17d63f5a87bf674951106079 100644 (file)
@@ -737,6 +737,9 @@ static int update_catalog(conf_t *conf, zone_update_t *update)
        }
 
        if (ret == KNOT_EOK) {
+               log_zone_info(update->zone->name, "catalog reloaded, -%zu +%zu members",
+                             trie_weight(update->zone->catalog_upd->rem),
+                             trie_weight(update->zone->catalog_upd->add));
                if (kill(getpid(), SIGUSR1) != 0) {
                        ret = knot_map_errno();
                }