aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Olivier Lemasle <o.lemasle@gmail.com> 2020-08-24 09:12:00 +0200
committerGravatar GitHub <noreply@github.com> 2020-08-24 09:12:00 +0200
commitf36715e88948fec07701cce675d4ec3626e9f21c (patch)
treee3580bd4efb248cfdf07b56d33e9a3f27ebf49bd /plugin
parentf6262eb2f688f4953980f8193dcaa4a7bc2018cd (diff)
downloadcoredns-f36715e88948fec07701cce675d4ec3626e9f21c.tar.gz
coredns-f36715e88948fec07701cce675d4ec3626e9f21c.tar.zst
coredns-f36715e88948fec07701cce675d4ec3626e9f21c.zip
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 <o.lemasle@gmail.com> * Add test and update debug's README Signed-off-by: Olivier Lemasle <o.lemasle@gmail.com>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/debug/README.md3
1 files changed, 3 insertions, 0 deletions
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