From: Remi Gacogne Date: Thu, 1 Jul 2021 09:43:05 +0000 (+0200) Subject: dnsdist: Warn if we could not re-open the LogAction file X-Git-Tag: dnsdist-1.7.0-alpha1~99^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=828894e93bc681da67238540568c2eacd20ff17c;p=thirdparty%2Fpdns.git dnsdist: Warn if we could not re-open the LogAction file --- diff --git a/pdns/dnsdist-lua-actions.cc b/pdns/dnsdist-lua-actions.cc index 754857e1ec..9d57f5507a 100644 --- a/pdns/dnsdist-lua-actions.cc +++ b/pdns/dnsdist-lua-actions.cc @@ -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; }