aboutsummaryrefslogtreecommitdiff
path: root/plugin/debug/README.md
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-04-19 07:41:56 +0100
committerGravatar GitHub <noreply@github.com> 2018-04-19 07:41:56 +0100
commit26d1432ae6c19c91fb6358e7629a9179a85b70f7 (patch)
tree8a9f94cf11dcebf1f079ab478d4ded4bf710c99f /plugin/debug/README.md
parent2095eb7979f53618180f759d0e68e4070554870d (diff)
downloadcoredns-26d1432ae6c19c91fb6358e7629a9179a85b70f7.tar.gz
coredns-26d1432ae6c19c91fb6358e7629a9179a85b70f7.tar.zst
coredns-26d1432ae6c19c91fb6358e7629a9179a85b70f7.zip
Update all plugins to use plugin/pkg/log (#1694)
* Update all plugins to use plugin/pkg/log I wish this could have been done with sed. Alas manually changed all callers to use the new plugin/pkg/log package. * Error -> Info * Add docs to debug plugin as well
Diffstat (limited to 'plugin/debug/README.md')
-rw-r--r--plugin/debug/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/debug/README.md b/plugin/debug/README.md
index d6fd1b22c..5c97e004e 100644
--- a/plugin/debug/README.md
+++ b/plugin/debug/README.md
@@ -7,7 +7,8 @@
## Description
Normally CoreDNS will recover from panics, using *debug* inhibits this. The main use of *debug* is
-to help testing.
+to help testing. A side effect of using *debug* is that `log.Debug` and `log.Debugf` will be printed
+to standard output.
Note that the *errors* plugin (if loaded) will also set a `recover` negating this setting.
@@ -19,7 +20,7 @@ debug
## Examples
-Disable the ability to recover from crashes:
+Disable the ability to recover from crashes and show debug logging:
~~~ corefile
. {