aboutsummaryrefslogtreecommitdiff
path: root/plugin/normalize_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-10-17 15:53:11 +0100
committerGravatar GitHub <noreply@github.com> 2019-10-17 15:53:11 +0100
commit5f114d38cab74f0c5c99b03ffe99f5607e393a92 (patch)
tree0aea9f0e38bb77fd3e8f0b4fde41e2905d65d262 /plugin/normalize_test.go
parentc187d8fa01f94c7b5c94dff0386bada2fe6a92aa (diff)
downloadcoredns-5f114d38cab74f0c5c99b03ffe99f5607e393a92.tar.gz
coredns-5f114d38cab74f0c5c99b03ffe99f5607e393a92.tar.zst
coredns-5f114d38cab74f0c5c99b03ffe99f5607e393a92.zip
pkg/log: add Clear to stop debug logging (#3372)
When reloading we need to disable debug output when the debug plugin is removed from the config file. Add a `Clear` function to pkg/log and use it in the server server. Add test case in pkg/log, for actuall check I manually checked the output by sprinkling some debug statements in the startup and checking with sending SIGUSR1. Also clear up the comments in pkg/log to remove the text about time stamping. Fixes: #3035 Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/normalize_test.go')
0 files changed, 0 insertions, 0 deletions