docs: clarify that default log format is console if TTY, otherwise JSON (#89)

This commit is contained in:
Kiran Thomas 2020-09-29 10:17:27 -05:00 committed by GitHub
parent 8818629407
commit 51cacc7e4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ log {
```
- **output** configures a where to write the logs to. See [Output modules](#output-modules) below. Default: `stderr`
- **format** describes how to encode, or format, the logs. See [Format modules](#format-modules) below. Default `console`
- **format** describes how to encode, or format, the logs. See [Format modules](#format-modules) below. Default: `console` if `stdout` is detected to be a terminal, `json` otherwise.
- **level** is the minimum entry level to log. Default: `INFO`
### Output modules