mirror of
https://github.com/coredns/coredns.io.git
synced 2024-04-21 12:32:00 +00:00
34 lines
512 B
Markdown
34 lines
512 B
Markdown
+++
|
|
title = "errors"
|
|
description = "*errors* enables error logging. "
|
|
weight = 8
|
|
tags = [ "middleware" , "errors" ]
|
|
categories = [ "middleware" ]
|
|
date = "2017-07-24T15:25:40+00:00"
|
|
+++
|
|
|
|
Any errors encountered during the query processing will be printed on standard output.
|
|
|
|
## Syntax
|
|
|
|
~~~
|
|
errors [FILE]
|
|
~~~
|
|
|
|
* **FILE** is the log file to create (or append to). The *only* valid name for **FILE** is *stdout*
|
|
|
|
## Examples
|
|
|
|
Log errors to *stdout*.
|
|
|
|
~~~
|
|
errors
|
|
~~~
|
|
|
|
Log errors to *stdout*.
|
|
|
|
~~~
|
|
errors stdout
|
|
~~~
|
|
|