mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user