diff --git a/doc/Changelog b/doc/Changelog index 089c4de65..3b9845c4d 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/services/authzone.c b/services/authzone.c index 312abad8b..523a2cdca 100644 --- a/services/authzone.c +++ b/services/authzone.c @@ -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)) {