docs: clarify that default log format is console if TTY, otherwise JSON

This commit is contained in:
Kiran Thomas 2020-09-27 11:43:53 -05:00
parent 8818629407
commit a8e0866c2a

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