mirror of
https://github.com/coredns/coredns.git
synced 2025-11-13 15:32:24 -05:00
middleware/log: allows logging based on response classes (#325)
Add the ability to add a class of responses to be logged; success, denial or error. The default is to log everything (all). Fixes #258
This commit is contained in:
2
middleware/cache/README.md
vendored
2
middleware/cache/README.md
vendored
@@ -20,7 +20,7 @@ Or if you want more control:
|
||||
|
||||
~~~ txt
|
||||
cache [ttl] [zones...] {
|
||||
noerror capacity [ttl]
|
||||
success capacity [ttl]
|
||||
denial capacity [ttl]
|
||||
}
|
||||
~~~
|
||||
|
||||
Reference in New Issue
Block a user