Skip to content

Commit

Permalink
- Add verbose log message when auth zone file is written, at level 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed Jul 29, 2019
1 parent 5f5c002 commit 7d5ab2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 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.

Expand Down
5 changes: 5 additions & 0 deletions services/authzone.c
Expand Up @@ -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)) {
Expand Down

0 comments on commit 7d5ab2f

Please sign in to comment.