Miek Gieben 8722336fff
global: move to context (#1699)
* global: move to context

Move from golang.org/x/net/context to std lib's context.

Change done with:

for i in $(grep -l '/context' **/*.go); do sed -e 's|golang.org/x/net/context|context|' -i $i; echo $i; done
for i in **/*.go; do goimports -w $i; done

* drop from dns.pb.go as well
2018-04-20 11:01:06 +01:00
..
2018-04-20 11:01:06 +01:00
2018-04-20 11:01:06 +01: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
}