Miek Gieben 874a998697 plugin/errors: remove panic/recover (#1777)
Remove panic/recover and also use pkg/log to print the error. This
brings some consistency into the logging.

Fixes #1776
2018-05-09 19:04:46 -07:00
..
2018-02-08 10:55:51 +00:00

errors

Name

errors - enable error logging.

Description

Any errors encountered during the query processing will be printed to standard output.

This plugin can only be used once per Server Block.

Syntax

errors

Examples

Use the whoami to respond to queries and Log errors to standard output.

. {
    whoami
    errors
}