]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Add verbose log message when auth zone file is written, at level 4.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 29 Jul 2019 07:25:49 +0000 (09:25 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 29 Jul 2019 07:25:49 +0000 (09:25 +0200)
doc/Changelog
services/authzone.c

index 089c4de652aee5fcf7ad3106c54ebdf33ec4ee43..3b9845c4dfb717f1cc8e96ae5dca90faa1ea1b43 100644 (file)
@@ -1,3 +1,6 @@
+29 July 2019: Wouter
+       - Add verbose log message when auth zone file is written, at level 4.
+
 23 July 2019: Wouter
        - Fix question section mismatch in local zone redirect.
 
index 312abad8beb1ac9b1b32fc7b5c6824d239d8daa6..523a2cdcaf9bc18858e5c288b84b2046ded4822f 100644 (file)
@@ -4867,6 +4867,11 @@ xfr_write_after_update(struct auth_xfer* xfr, struct module_env* env)
        if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(zfilename,
                cfg->chrootdir, strlen(cfg->chrootdir)) == 0)
                zfilename += strlen(cfg->chrootdir);
+       if(verbosity >= VERB_ALGO) {
+               char nm[255+1];
+               dname_str(z->name, nm);
+               verbose(VERB_ALGO, "write zonefile %s for %s", zfilename, nm);
+       }
 
        /* write to tempfile first */
        if((size_t)strlen(zfilename) + 16 > sizeof(tmpfile)) {