]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Warn if we could not re-open the LogAction file
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 1 Jul 2021 09:43:05 +0000 (11:43 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 1 Jul 2021 09:43:05 +0000 (11:43 +0200)
pdns/dnsdist-lua-actions.cc

index 754857e1ec9a3626600fd9bc9856341999631edc..9d57f5507afba77f8b622c3ad7067e150e875d5b 100644 (file)
@@ -817,6 +817,7 @@ private:
 
     if (!fp) {
       /* don't fall on our sword when reopening */
+      warnlog("Unable to open file '%s' for logging: %s", d_fname, stringerror());
       return;
     }