coredns/middleware/errors
Miek Gieben e261ac1a6e middleware/{log,errors}: output everything to stdout (#684)
Limit the options in both errors and log middleware, just output to
stdout and let someone else (journald,docker) care about where to route
the logs. This removes syslog and logging to a file.

Fixes #573 #602
2017-05-31 20:28:53 +01:00
..
errors.go middleware/{log,errors}: output everything to stdout (#684) 2017-05-31 20:28:53 +01:00
errors_test.go middleware/{log,errors}: output everything to stdout (#684) 2017-05-31 20:28:53 +01:00
README.md middleware/{log,errors}: output everything to stdout (#684) 2017-05-31 20:28:53 +01:00
setup.go middleware/{log,errors}: output everything to stdout (#684) 2017-05-31 20:28:53 +01:00
setup_test.go middleware/{log,errors}: output everything to stdout (#684) 2017-05-31 20:28:53 +01:00

errors

errors enables error logging. TODO: what are errors.

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