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 |
||
---|---|---|
.. | ||
errors.go | ||
errors_test.go | ||
README.md | ||
setup.go | ||
setup_test.go |
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