From 828894e93bc681da67238540568c2eacd20ff17c Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 1 Jul 2021 11:43:05 +0200 Subject: [PATCH] dnsdist: Warn if we could not re-open the LogAction file --- pdns/dnsdist-lua-actions.cc | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.47.3