From f36715e88948fec07701cce675d4ec3626e9f21c Mon Sep 17 00:00:00 2001 From: Olivier Lemasle Date: Mon, 24 Aug 2020 09:12:00 +0200 Subject: Enable debug globally if enabled in any server config (#4007) * Enable debug globally if enabled in any server config It was currently enabled only if the plugin debug was enabled in the last server config of the Corefile. Signed-off-by: Olivier Lemasle * Add test and update debug's README Signed-off-by: Olivier Lemasle --- plugin/debug/README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin') diff --git a/plugin/debug/README.md b/plugin/debug/README.md index a6234866d..c52ee7299 100644 --- a/plugin/debug/README.md +++ b/plugin/debug/README.md @@ -12,6 +12,9 @@ will be printed to standard output. Note that the *errors* plugin (if loaded) will also set a `recover`, negating this setting. +Enabling this plugin is process-wide: enabling *debug* in at least one server block enables +debug mode globally. + ## Syntax ~~~ txt -- cgit v1.2.3