mirror of
https://github.com/coredns/coredns.git
synced 2026-01-16 05:41:18 -05:00
fix(plugins): add regex length limit (#7802)
This commit is contained in:
@@ -29,7 +29,7 @@ errors {
|
||||
|
||||
Option `stacktrace` will log a stacktrace during panic recovery.
|
||||
|
||||
Option `consolidate` allows collecting several error messages matching the regular expression **REGEXP** during **DURATION**. After the **DURATION** since receiving the first such message, the consolidated message will be printed to standard output with
|
||||
Option `consolidate` allows collecting several error messages matching the regular expression **REGEXP** during **DURATION**. **REGEXP** must not exceed 10000 characters. After the **DURATION** since receiving the first such message, the consolidated message will be printed to standard output with
|
||||
log level, which is configurable by optional option **LEVEL**. Supported options for **LEVEL** option are `warning`,`error`,`info` and `debug`.
|
||||
~~~
|
||||
2 errors like '^read udp .* i/o timeout$' occurred in last 30s
|
||||
|
||||
Reference in New Issue
Block a user