2016-03-19 12:58:08 +00:00
|
|
|
# errors
|
|
|
|
|
|
2018-01-04 12:53:07 +00:00
|
|
|
## Name
|
|
|
|
|
|
|
|
|
|
*errors* - enable error logging.
|
|
|
|
|
|
|
|
|
|
## Description
|
2017-07-24 08:24:53 -07:00
|
|
|
|
2017-09-11 06:51:24 +01:00
|
|
|
Any errors encountered during the query processing will be printed to standard output.
|
2016-03-19 12:58:08 +00:00
|
|
|
|
2018-02-28 18:16:05 -08:00
|
|
|
This plugin can only be used once per Server Block.
|
|
|
|
|
|
2016-03-19 12:58:08 +00:00
|
|
|
## Syntax
|
|
|
|
|
|
|
|
|
|
~~~
|
2017-09-11 06:51:24 +01:00
|
|
|
errors
|
2016-03-19 12:58:08 +00:00
|
|
|
~~~
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
2017-09-11 06:51:24 +01:00
|
|
|
Use the *whoami* to respond to queries and Log errors to standard output.
|
2016-03-19 12:58:08 +00:00
|
|
|
|
2017-09-11 06:51:24 +01:00
|
|
|
~~~ corefile
|
|
|
|
|
. {
|
|
|
|
|
whoami
|
|
|
|
|
errors
|
|
|
|
|
}
|
2016-03-19 12:58:08 +00:00
|
|
|
~~~
|